@@ -1,24 +1,24 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IInStorePickUpItem; |
| 17 | 17 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IShippingItem; |
| 18 | 18 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IInventoryDetailsRequest; |
| 19 | 19 | |
| 20 | 20 | class EbayEnterprise_Inventory_Model_Details_Request_Builder extends |
| 21 | - EbayEnterprise_Inventory_Model_Details_Request_Builder_Abstract |
|
| 21 | + EbayEnterprise_Inventory_Model_Details_Request_Builder_Abstract |
|
| 22 | 22 | { |
| 23 | 23 | /** @var EbayEnterprise_Inventory_Helper_Details_Item */ |
| 24 | 24 | protected $itemHelper; |
@@ -83,6 +83,7 @@ |
||
| 83 | 83 | * @param string |
| 84 | 84 | * @param array |
| 85 | 85 | * @param mixed |
| 86 | + * @param string $key |
|
| 86 | 87 | * @return mixed |
| 87 | 88 | */ |
| 88 | 89 | protected function _nullCoalesce(array $arr, $key, $default) |
@@ -13,8 +13,6 @@ |
||
| 13 | 13 | * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | -use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IInStorePickUpItem; |
|
| 17 | -use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IShippingItem; |
|
| 18 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IInventoryDetailsRequest; |
| 19 | 17 | |
| 20 | 18 | class EbayEnterprise_Inventory_Test_Model_Details_Request_BuilderTest extends EbayEnterprise_Eb2cCore_Test_Base |
@@ -132,7 +132,7 @@ |
||
| 132 | 132 | */ |
| 133 | 133 | protected function getQuoteItemId(Mage_Sales_Model_Quote_Item_Abstract $item) |
| 134 | 134 | { |
| 135 | - $children = $item->getChildren() ?: []; |
|
| 135 | + $children = $item->getChildren() ?: []; |
|
| 136 | 136 | foreach ($children as $childItem) { |
| 137 | 137 | return $childItem->getId(); |
| 138 | 138 | } |
@@ -1,17 +1,17 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -73,6 +73,7 @@ discard block |
||
| 73 | 73 | * @param string |
| 74 | 74 | * @param array |
| 75 | 75 | * @param mixed |
| 76 | + * @param string $key |
|
| 76 | 77 | * @return mixed |
| 77 | 78 | */ |
| 78 | 79 | protected function nullCoalesce(array $arr, $key, $default) |
@@ -86,7 +87,7 @@ discard block |
||
| 86 | 87 | * there was an error in the sdk |
| 87 | 88 | * |
| 88 | 89 | * @param Mage_Sales_Model_Quote_Item_Abstract |
| 89 | - * @return EbayEnterprise_Inventory_Model_Details_Item|null |
|
| 90 | + * @return EbayEnterprise_Inventory_Details_Item|null |
|
| 90 | 91 | */ |
| 91 | 92 | public function getDetailsForItem(Mage_Sales_Model_Quote_Item_Abstract $item) |
| 92 | 93 | { |
@@ -145,7 +146,7 @@ discard block |
||
| 145 | 146 | * there was an error in the sdk |
| 146 | 147 | * |
| 147 | 148 | * @param Mage_Sales_Model_Order_Item |
| 148 | - * @return EbayEnterprise_Inventory_Model_Details_Item|null |
|
| 149 | + * @return EbayEnterprise_Inventory_Details_Item|null |
|
| 149 | 150 | */ |
| 150 | 151 | public function getDetailsForOrderItem(Mage_Sales_Model_Order_Item $item) |
| 151 | 152 | { |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | public function setUp() |
| 31 | 31 | { |
| 32 | 32 | parent::setUp(); |
| 33 | - $this->logger= $this->getHelperMockBuilder('ebayenterprise_magelog/data') |
|
| 33 | + $this->logger = $this->getHelperMockBuilder('ebayenterprise_magelog/data') |
|
| 34 | 34 | ->disableOriginalConstructor() |
| 35 | 35 | ->getMock(); |
| 36 | 36 | $this->logContext = $this->getHelperMockBuilder('ebayenterprise_magelog/context') |
@@ -266,7 +266,7 @@ discard block |
||
| 266 | 266 | /** @var Mage_Sales_Model_Quote_Item $childItem */ |
| 267 | 267 | $childItem = Mage::getModel('sales/quote_item', ['item_id' => $childItemId, 'product' => $product]); |
| 268 | 268 | /** @var Mage_Sales_Model_Quote_Item $parentItem */ |
| 269 | - $parentItem = Mage::getModel('sales/quote_item', ['item_id' => $parentItemId,'product' => $product]); |
|
| 269 | + $parentItem = Mage::getModel('sales/quote_item', ['item_id' => $parentItemId, 'product' => $product]); |
|
| 270 | 270 | $parentItem->addChild($childItem); |
| 271 | 271 | |
| 272 | 272 | return [ |
@@ -1,17 +1,17 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -1,17 +1,17 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | class EbayEnterprise_Inventory_Test_Model_EddTest extends EbayEnterprise_Eb2cCore_Test_Base |
| 17 | 17 | { |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | $detailItem->expects($this->once()) |
| 49 | 49 | ->method('getDeliveryWindowFromDate') |
| 50 | 50 | ->will($this->returnValue($from)); |
| 51 | - $detailItem->expects($this->once()) |
|
| 51 | + $detailItem->expects($this->once()) |
|
| 52 | 52 | ->method('getDeliveryWindowToDate') |
| 53 | 53 | ->will($this->returnValue($to)); |
| 54 | 54 | |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | |
| 25 | 25 | public function setUp() |
| 26 | 26 | { |
| 27 | - $this->logger= $this->getHelperMockBuilder('ebayenterprise_magelog/data') |
|
| 27 | + $this->logger = $this->getHelperMockBuilder('ebayenterprise_magelog/data') |
|
| 28 | 28 | ->disableOriginalConstructor() |
| 29 | 29 | ->getMock(); |
| 30 | 30 | $this->logContext = $this->getHelperMockBuilder('ebayenterprise_magelog/context') |
@@ -1,17 +1,17 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -1,17 +1,17 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2015 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2015 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | /** @var Mage_Sales_Model_Resource_Setup */ |
| 17 | 17 | $installer = $this; |
@@ -26,6 +26,6 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public function filterHiddenGiftItems(array $items = []) |
| 28 | 28 | { |
| 29 | - return array_filter($items, function ($item) { return !$item->getIsHiddenGift(); }); |
|
| 29 | + return array_filter($items, function($item) { return !$item->getIsHiddenGift(); }); |
|
| 30 | 30 | } |
| 31 | 31 | } |
@@ -1,17 +1,17 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -345,7 +345,7 @@ |
||
| 345 | 345 | * @param string | null - optional |
| 346 | 346 | * @return EbayEnterprise_Order_Model_Tracking |
| 347 | 347 | */ |
| 348 | - public function getNewTrackingModel(Mage_Sales_Model_Order $order, $shipmentId, $trackingNumber=null) |
|
| 348 | + public function getNewTrackingModel(Mage_Sales_Model_Order $order, $shipmentId, $trackingNumber = null) |
|
| 349 | 349 | { |
| 350 | 350 | return Mage::getModel('ebayenterprise_order/tracking', [ |
| 351 | 351 | 'order' => $order, |
@@ -1,17 +1,17 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -1,17 +1,17 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\Order\IOrderCancelResponse; |
| 17 | 17 | |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | */ |
| 109 | 109 | protected function _cancelOrder() |
| 110 | 110 | { |
| 111 | - if ($this->_order->getId()) { |
|
| 111 | + if ($this->_order->getId()) { |
|
| 112 | 112 | // Only save order that's in this magento store |
| 113 | 113 | $this->_order->cancel()->save(); |
| 114 | 114 | } else { |