diff --git a/.idea/php.xml b/.idea/php.xml index b4bbf1ef4688f739efae3ca1a321505b9bd57d93..0e09af40726c3560d3f3d145e050377be73a1431 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -1,4 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <project version="4"> - <component name="PhpProjectSharedConfiguration" php_language_level="7.0" /> + <component name="PhpProjectSharedConfiguration" php_language_level="7.4"> + <option name="suggestChangeDefaultLanguageLevel" value="false" /> + </component> </project> \ No newline at end of file diff --git a/uafrica/Customshipping/Model/Carrier/Customshipping.php b/uafrica/Customshipping/Model/Carrier/Customshipping.php index f57e2c44ef9a7ced55bb37b538befbf71994906a..10769afbd480f284a96c677c9878bdbbe244db94 100644 --- a/uafrica/Customshipping/Model/Carrier/Customshipping.php +++ b/uafrica/Customshipping/Model/Carrier/Customshipping.php @@ -300,8 +300,6 @@ class Customshipping extends AbstractCarrier implements CarrierInterface * 3. This method feels hacky, not sure if I will need to refactor, but it works for now, * I am open for suggestions. */ - - //Todo: Add Image dynamically to the result object echo "<pre>"; print_r(" <img src='https://ik.imagekit.io/z1viz85yxs/dev-v3/provider-logos/devpanda_logo.png' alt='Dev Panda' width='100' height='100'> @@ -468,7 +466,6 @@ class Customshipping extends AbstractCarrier implements CarrierInterface $destStreet = $request->getDestStreet(); $destStreet1 = $destStreet; $destStreet2 = $destStreet; - // $destStreet3 = $destStreet[2]; //Get all the origin data from the request $origin = $this->getConfigData('origin_postcode'); @@ -478,7 +475,6 @@ class Customshipping extends AbstractCarrier implements CarrierInterface $originStreet = $this->getConfigData('origin_street'); $originStreet1 = $originStreet; $originStreet2 = $originStreet; - // $originStreet3 = $originStreet[2]; $items = $request->getAllItems();