@@ -68,6 +68,7 @@ discard block |
||
68 | 68 | * @param string |
69 | 69 | * @param array |
70 | 70 | * @param mixed |
71 | + * @param string $key |
|
71 | 72 | * @return mixed |
72 | 73 | */ |
73 | 74 | protected function nullCoalesce($key, array $arr, $default) |
@@ -306,6 +307,7 @@ discard block |
||
306 | 307 | * |
307 | 308 | * @param Reservation |
308 | 309 | * @param array |
310 | + * @param EbayEnterprise_Inventory_Model_Allocation_Reservation $reservation |
|
309 | 311 | * @return |
310 | 312 | */ |
311 | 313 | protected function createResult($reservation, array $allocations = []) |
@@ -323,7 +325,7 @@ discard block |
||
323 | 325 | * wrap the allocation model factory method in an anonymous function |
324 | 326 | * to allow public invocation. |
325 | 327 | * |
326 | - * @return callable |
|
328 | + * @return Closure |
|
327 | 329 | */ |
328 | 330 | protected function createAllocationFactoryCallback() |
329 | 331 | { |
@@ -13,14 +13,14 @@ |
||
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\Api\IBidirectionalApi; |
|
17 | 16 | use eBayEnterprise\RetailOrderManagement\Api\Exception\NetworkError; |
18 | 17 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedHttpAction; |
19 | 18 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedOperation; |
19 | +use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi; |
|
20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\Exception\InvalidPayload; |
21 | +use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IAllocatedItem; |
|
21 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IAllocationReply; |
22 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IAllocationRequest; |
23 | -use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IAllocatedItem; |
|
24 | 24 | |
25 | 25 | class EbayEnterprise_Inventory_Model_Allocation_Allocator |
26 | 26 | { |
@@ -327,7 +327,7 @@ |
||
327 | 327 | */ |
328 | 328 | protected function createAllocationFactoryCallback() |
329 | 329 | { |
330 | - return function ($payload) { |
|
330 | + return function($payload) { |
|
331 | 331 | return $this->createAllocationFromPayload($payload); |
332 | 332 | }; |
333 | 333 | } |
@@ -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 | { |
@@ -13,10 +13,10 @@ |
||
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\Api\IBidirectionalApi; |
|
17 | 16 | use eBayEnterprise\RetailOrderManagement\Api\Exception\NetworkError; |
18 | 17 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedHttpAction; |
19 | 18 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedOperation; |
19 | +use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi; |
|
20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\Exception\InvalidPayload; |
21 | 21 | |
22 | 22 | class EbayEnterprise_Inventory_Model_Allocation_Deallocator |
@@ -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) |
@@ -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 | { |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | /** |
80 | 80 | * get all allocations |
81 | 81 | * |
82 | - * @return array |
|
82 | + * @return EbayEnterprise_Inventory_Model_Allocation[] |
|
83 | 83 | */ |
84 | 84 | public function getAllocations() |
85 | 85 | { |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | /** |
90 | 90 | * get the reservation the results are for |
91 | 91 | * |
92 | - * @return EbayEnterprise_Inventory_Allocation_Reservation |
|
92 | + * @return EbayEnterprise_Inventory_Model_Allocation_Reservation |
|
93 | 93 | */ |
94 | 94 | public function getReservation() |
95 | 95 | { |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | /** |
111 | 111 | * the callback used to create an allocation object. |
112 | 112 | * |
113 | - * @return callable |
|
113 | + * @return Closure |
|
114 | 114 | */ |
115 | 115 | protected function getAllocationFactoryCallback() |
116 | 116 | { |
@@ -114,7 +114,7 @@ |
||
114 | 114 | */ |
115 | 115 | protected function getAllocationFactoryCallback() |
116 | 116 | { |
117 | - return function (array $allocationData) { |
|
117 | + return function(array $allocationData) { |
|
118 | 118 | return $this->createAllocation($allocationData); |
119 | 119 | }; |
120 | 120 | } |
@@ -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 | { |
@@ -13,10 +13,10 @@ |
||
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\Api\HttpApi; |
|
17 | 16 | use eBayEnterprise\RetailOrderManagement\Api\Exception\NetworkError; |
18 | 17 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedHttpAction; |
19 | 18 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedOperation; |
19 | +use eBayEnterprise\RetailOrderManagement\Api\HttpApi; |
|
20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\Exception\InvalidPayload; |
21 | 21 | |
22 | 22 | class EbayEnterprise_Inventory_Model_Details |
@@ -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) |
@@ -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 | { |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | * Identifier for an order item. |
80 | 80 | * |
81 | 81 | * restrictions: 1 <= length <= 39, unique in request |
82 | - * @return string |
|
82 | + * @return integer |
|
83 | 83 | */ |
84 | 84 | public function getItemId() |
85 | 85 | { |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | /** |
151 | 151 | * Indicates if the delivery estimate should be displayed. |
152 | 152 | * |
153 | - * @return DateTime |
|
153 | + * @return boolean |
|
154 | 154 | */ |
155 | 155 | public function getDeliveryEstimateDisplayFlag() |
156 | 156 | { |
@@ -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 | { |
@@ -58,7 +58,7 @@ |
||
58 | 58 | * |
59 | 59 | * @param Mage_Sales_Model_Quote_Item_Abstract |
60 | 60 | * @param Mage_Customer_Model_Address_Abstract |
61 | - * @return IInStorePickUpItem|null |
|
61 | + * @return Payload\Inventory\IInStorePickUpItemIterable|null |
|
62 | 62 | */ |
63 | 63 | protected function getIspuItem( |
64 | 64 | Mage_Sales_Model_Quote_Item_Abstract $item, |
@@ -14,7 +14,6 @@ |
||
14 | 14 | */ |
15 | 15 | |
16 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IInStorePickUpItem; |
17 | -use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IShippingItem; |
|
18 | 17 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IInventoryDetailsRequest; |
19 | 18 | |
20 | 19 | abstract class EbayEnterprise_Inventory_Model_Details_Request_Builder_Abstract |
@@ -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 | { |
@@ -37,11 +37,6 @@ discard block |
||
37 | 37 | protected $logContext; |
38 | 38 | |
39 | 39 | /** |
40 | - * @param array $args May contain: |
|
41 | - * - helper => EbayEnterprise_Inventory_Helper_Data |
|
42 | - * - allocation_service => EbayEnterprise_Inventory_Model_Allocation_Service |
|
43 | - * - logger => EbayEnterprise_MageLog_Helper_Data |
|
44 | - * - log_context => EbayEnterprise_MageLog_Helper_Context |
|
45 | 40 | */ |
46 | 41 | public function __construct(array $init = []) |
47 | 42 | { |
@@ -86,6 +81,7 @@ discard block |
||
86 | 81 | * @param array |
87 | 82 | * @param string |
88 | 83 | * @param mixed |
84 | + * @param string $key |
|
89 | 85 | * @return mixed |
90 | 86 | */ |
91 | 87 | protected function nullCoalesce(array $arr, $key, $default) |
@@ -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\IOrderItem; |
17 | 17 | |
@@ -182,13 +182,13 @@ discard block |
||
182 | 182 | && $allocation->getQuantityAllocated() < $item->getQtyOrdered(); |
183 | 183 | } |
184 | 184 | |
185 | - /** |
|
186 | - * Determine if the passed in item is backorderable. |
|
187 | - * |
|
188 | - * @param Mage_Core_Model_Abstract |
|
189 | - * @param int |
|
190 | - * @return bool |
|
191 | - */ |
|
185 | + /** |
|
186 | + * Determine if the passed in item is backorderable. |
|
187 | + * |
|
188 | + * @param Mage_Core_Model_Abstract |
|
189 | + * @param int |
|
190 | + * @return bool |
|
191 | + */ |
|
192 | 192 | protected function isBackorderable(Mage_Core_Model_Abstract $item) |
193 | 193 | { |
194 | 194 | return $this->getStockItem($item)->getBackorders() > Mage_CatalogInventory_Model_Stock::BACKORDERS_NO; |
@@ -72,6 +72,7 @@ discard block |
||
72 | 72 | * @param string |
73 | 73 | * @param array |
74 | 74 | * @param mixed |
75 | + * @param string $key |
|
75 | 76 | * @return mixed |
76 | 77 | */ |
77 | 78 | protected function nullCoalesce(array $arr, $key, $default) |
@@ -83,7 +84,7 @@ discard block |
||
83 | 84 | * Enforce type checks for the config key in the constructors parameter array $args. |
84 | 85 | * |
85 | 86 | * @param EbayEnterprise_Eb2cCore_Model_Config_Registry |
86 | - * @return array |
|
87 | + * @return EbayEnterprise_Eb2cCore_Model_Config_Registry[] |
|
87 | 88 | */ |
88 | 89 | protected function checkConfigTypes(EbayEnterprise_Eb2cCore_Model_Config_Registry $config) |
89 | 90 | { |
@@ -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 | { |
@@ -85,6 +85,7 @@ discard block |
||
85 | 85 | * @param string |
86 | 86 | * @param array |
87 | 87 | * @param mixed |
88 | + * @param string $key |
|
88 | 89 | * @return mixed |
89 | 90 | */ |
90 | 91 | protected function nullCoalesce(array $arr, $key, $default) |
@@ -120,7 +121,7 @@ discard block |
||
120 | 121 | * if they are valid and apply to the current state of the provided items. |
121 | 122 | * |
122 | 123 | * @param Mage_Sales_Model_Quote_Item[] |
123 | - * @return EbayEnterprise_Inventory_Model_Quantity_Restults|null |
|
124 | + * @return EbayEnterprise_Inventory_Model_Quantity_IResults|null |
|
124 | 125 | */ |
125 | 126 | protected function getSessionResults(array $items) |
126 | 127 | { |
@@ -135,6 +136,7 @@ discard block |
||
135 | 136 | * Request new quantity results. |
136 | 137 | * |
137 | 138 | * @param Mage_Sales_Model_Quote_Item[] |
139 | + * @param Mage_Sales_Model_Quote_Item_Abstract[] $items |
|
138 | 140 | * @return EbayEnterprise_Inventory_Model_Quantity_Restults |
139 | 141 | */ |
140 | 142 | protected function requestNewResults($items) |
@@ -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 | { |