@@ -62,7 +62,7 @@ |
||
62 | 62 | /** |
63 | 63 | * Return the value at field in array if it exists. Otherwise, use the default value. |
64 | 64 | * @param array $arr |
65 | - * @param string|int $field Valid array key |
|
65 | + * @param string $field Valid array key |
|
66 | 66 | * @param mixed $default |
67 | 67 | * @return mixed |
68 | 68 | */ |
@@ -13,7 +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; |
|
17 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\OrderEvents; |
18 | 17 | |
19 | 18 | class EbayEnterprise_Order_Model_Ordershipped |
@@ -12,9 +12,9 @@ |
||
12 | 12 | * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
13 | 13 | * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
14 | 14 | */ |
15 | +use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi; |
|
15 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\Customer\IOrderSummaryRequest; |
16 | 17 | use eBayEnterprise\RetailOrderManagement\Payload\Customer\IOrderSummaryResponse; |
17 | -use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi; |
|
18 | 18 | |
19 | 19 | class EbayEnterprise_Order_Model_Search implements EbayEnterprise_Order_Model_ISearch |
20 | 20 | { |
@@ -13,8 +13,8 @@ |
||
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\Customer\IOrderSummaryResponse; |
|
17 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\Customer\IOrderSummaryIterable; |
17 | +use eBayEnterprise\RetailOrderManagement\Payload\Customer\IOrderSummaryResponse; |
|
18 | 18 | |
19 | 19 | class EbayEnterprise_Order_Model_Search_Process_Response implements EbayEnterprise_Order_Model_Search_Process_IResponse |
20 | 20 | { |
@@ -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 | { |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * Type hinting for self::__construct $initParams |
30 | 30 | * |
31 | 31 | * @param EbayEnterprise_Order_Helper_Data |
32 | - * @return array |
|
32 | + * @return EbayEnterprise_Order_Helper_Data[] |
|
33 | 33 | */ |
34 | 34 | protected function _checkTypes(EbayEnterprise_Order_Helper_Data $orderHelper) |
35 | 35 | { |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | * @param array |
43 | 43 | * @param string $field Valid array key |
44 | 44 | * @param mixed |
45 | - * @return mixed |
|
45 | + * @return EbayEnterprise_Order_Helper_Data |
|
46 | 46 | */ |
47 | 47 | protected function _nullCoalesce(array $arr, $field, $default) |
48 | 48 | { |
@@ -57,7 +57,7 @@ |
||
57 | 57 | public function toOptionArray() |
58 | 58 | { |
59 | 59 | $arr = $this->toArray(); |
60 | - return array_map(function ($k) use ($arr) { |
|
60 | + return array_map(function($k) use ($arr) { |
|
61 | 61 | return ['value' => $k, 'label' => $arr[$k]]; |
62 | 62 | }, array_keys($arr)); |
63 | 63 | } |
@@ -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 | { |
@@ -62,7 +62,7 @@ |
||
62 | 62 | * @param array |
63 | 63 | * @param string $field Valid array key |
64 | 64 | * @param mixed |
65 | - * @return mixed |
|
65 | + * @return EbayEnterprise_Order_Helper_Factory |
|
66 | 66 | */ |
67 | 67 | protected function nullCoalesce(array $arr, $field, $default) |
68 | 68 | { |
@@ -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 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @param EbayEnterprise_Order_Helper_Data |
55 | 55 | * @param Mage_Core_Helper_Data |
56 | - * @return array |
|
56 | + * @return Mage_Core_Helper_Data[] |
|
57 | 57 | */ |
58 | 58 | protected function _checkTypes( |
59 | 59 | EbayEnterprise_Order_Helper_Data $orderHelper, |
@@ -79,6 +79,7 @@ discard block |
||
79 | 79 | * @see Mage_Core_Block_Abstract::getHelper() |
80 | 80 | * Returns a helper instance. |
81 | 81 | * |
82 | + * @param string $type |
|
82 | 83 | * @return EbayEnterprise_Order_Helper_Data |
83 | 84 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
84 | 85 | */ |
@@ -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 | { |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | * |
57 | 57 | * @param EbayEnterprise_Order_Helper_Data |
58 | 58 | * @param EbayEnterprise_Order_Helper_Factory |
59 | - * @return array |
|
59 | + * @return EbayEnterprise_Order_Helper_Factory[] |
|
60 | 60 | */ |
61 | 61 | protected function _checkTypes( |
62 | 62 | EbayEnterprise_Order_Helper_Data $orderHelper, |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | * @param array |
72 | 72 | * @param string $field Valid array key |
73 | 73 | * @param mixed |
74 | - * @return mixed |
|
74 | + * @return EbayEnterprise_Order_Helper_Factory |
|
75 | 75 | */ |
76 | 76 | protected function _nullCoalesce(array $arr, $field, $default) |
77 | 77 | { |
@@ -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 | { |
@@ -44,6 +44,9 @@ discard block |
||
44 | 44 | * @param string |
45 | 45 | * @param string |
46 | 46 | * @param string |
47 | + * @param string $type |
|
48 | + * @param string $block |
|
49 | + * @param string $template |
|
47 | 50 | * @return Mage_Checkout_Block_Cart_Abstract |
48 | 51 | */ |
49 | 52 | public function addItemRender($type, $block, $template) |
@@ -61,6 +64,7 @@ discard block |
||
61 | 64 | * Retrieve item renderer block |
62 | 65 | * |
63 | 66 | * @param string |
67 | + * @param string $type |
|
64 | 68 | * @return Mage_Core_Block_Abstract |
65 | 69 | */ |
66 | 70 | public function getItemRenderer($type) |
@@ -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 | { |
@@ -47,6 +47,7 @@ discard block |
||
47 | 47 | /** |
48 | 48 | * Returns URL for view a specific order id. |
49 | 49 | * @param string |
50 | + * @param string $orderId |
|
50 | 51 | * @return string |
51 | 52 | */ |
52 | 53 | public function getViewUrl($orderId) |
@@ -58,6 +59,7 @@ discard block |
||
58 | 59 | * Returns URL to cancel an order. |
59 | 60 | * |
60 | 61 | * @param string |
62 | + * @param string $orderId |
|
61 | 63 | * @return string |
62 | 64 | */ |
63 | 65 | public function getCancelUrl($orderId) |
@@ -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 | { |