diff --git a/Api/Webapi/CheckShippingOptionInterface.php b/Api/Webapi/CheckShippingOptionInterface.php index 0669459..91c2f5b 100644 --- a/Api/Webapi/CheckShippingOptionInterface.php +++ b/Api/Webapi/CheckShippingOptionInterface.php @@ -7,9 +7,6 @@ namespace Paazl\CheckoutWidget\Api\Webapi; -use Magento\Framework\Exception\NoSuchEntityException; -use Paazl\CheckoutWidget\Api\Data\CheckQuoteResultInterface; - /** * Interface CheckShippingOptionInterface */ @@ -17,8 +14,8 @@ interface CheckShippingOptionInterface { /** * @param string $cartId - * @return CheckQuoteResultInterface - * @throws NoSuchEntityException + * @return \Paazl\CheckoutWidget\Api\Data\CheckQuoteResultInterface + * @throws \Magento\Framework\Exception\NoSuchEntityException */ public function get($cartId); } diff --git a/Api/Webapi/GuestCheckShippingOptionInterface.php b/Api/Webapi/GuestCheckShippingOptionInterface.php index 47c923d..79456cf 100644 --- a/Api/Webapi/GuestCheckShippingOptionInterface.php +++ b/Api/Webapi/GuestCheckShippingOptionInterface.php @@ -7,9 +7,6 @@ namespace Paazl\CheckoutWidget\Api\Webapi; -use Magento\Framework\Exception\NoSuchEntityException; -use Paazl\CheckoutWidget\Api\Data\CheckQuoteResultInterface; - /** * Interface CheckShippingOptionInterface */ @@ -17,8 +14,8 @@ interface GuestCheckShippingOptionInterface { /** * @param int $cartId - * @return CheckQuoteResultInterface - * @throws NoSuchEntityException + * @return \Paazl\CheckoutWidget\Api\Data\CheckQuoteResultInterface + * @throws \Magento\Framework\Exception\NoSuchEntityException */ public function get($cartId); } diff --git a/Plugin/Carrier/Infotext.php b/Plugin/Carrier/Infotext.php index abb1764..7709509 100755 --- a/Plugin/Carrier/Infotext.php +++ b/Plugin/Carrier/Infotext.php @@ -55,8 +55,7 @@ public function afterModelToDataObject(ShippingMethodConverter $subject, Shippin { $carrierCode = $result->getCarrierCode(); $infotext = $this->scopeConfig->getValue( - 'carriers/' . $carrierCode . '/infotext', - \Magento\Store\Model\ScopeInterface::SCOPE_STORE + 'carriers/' . $carrierCode . '/infotext' ); $extensibleAttribute = ($result->getExtensionAttributes()) ? $result->getExtensionAttributes() diff --git a/composer.json b/composer.json index 7b30f9a..6f5f7af 100755 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "paazl/magento2-checkout-widget", "description": "Paazl checkoutWidget for Magento 2", "type": "magento2-module", - "version": "1.6.0", + "version": "1.6.1", "keywords": [ "Paazl", "Magento 2", diff --git a/etc/config.xml b/etc/config.xml index b80229b..03568e1 100644 --- a/etc/config.xml +++ b/etc/config.xml @@ -8,7 +8,7 @@ - v1.6.0 + v1.6.1 0 0 0