@@ -63,6 +63,7 @@ discard block |
||
63 | 63 | * |
64 | 64 | * @param array |
65 | 65 | * @param int |
66 | + * @param integer $productId |
|
66 | 67 | * @return self |
67 | 68 | */ |
68 | 69 | public function saveStockItem(array $stockData, $productId) |
@@ -92,6 +93,8 @@ discard block |
||
92 | 93 | * |
93 | 94 | * @param int |
94 | 95 | * @param string |
96 | + * @param integer $productId |
|
97 | + * @param string|null $value |
|
95 | 98 | * @return array |
96 | 99 | */ |
97 | 100 | protected function buildStockData($productId, $value) |
@@ -110,6 +113,7 @@ discard block |
||
110 | 113 | |
111 | 114 | /** |
112 | 115 | * @param int |
116 | + * @param integer $backorders |
|
113 | 117 | * @return array |
114 | 118 | */ |
115 | 119 | protected function getIsInStockData($backorders) |
@@ -141,7 +145,7 @@ discard block |
||
141 | 145 | * @param array |
142 | 146 | * @param string $field Valid array key |
143 | 147 | * @param mixed |
144 | - * @return mixed |
|
148 | + * @return EbayEnterprise_Catalog_Helper_Factory |
|
145 | 149 | */ |
146 | 150 | protected function nullCoalesce(array $arr, $field, $default) |
147 | 151 | { |
@@ -59,8 +59,7 @@ |
||
59 | 59 | Mage_Sales_Model_Order $order, |
60 | 60 | $shipmentId, |
61 | 61 | $trackingNumber=null |
62 | - ) |
|
63 | - { |
|
62 | + ) { |
|
64 | 63 | return func_get_args(); |
65 | 64 | } |
66 | 65 |
@@ -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_Catalog_Model_Observers |
17 | 17 | { |
@@ -28,13 +28,13 @@ discard block |
||
28 | 28 | ); |
29 | 29 | } |
30 | 30 | |
31 | - /** |
|
32 | - * Type hinting for self::__construct $parameters |
|
33 | - * |
|
34 | - * @param EbayEnterprise_Eb2cCore_Model_Config_Registry |
|
35 | - * @param EbayEnterprise_Catalog_Helper_Map_Stock |
|
36 | - * @return array |
|
37 | - */ |
|
31 | + /** |
|
32 | + * Type hinting for self::__construct $parameters |
|
33 | + * |
|
34 | + * @param EbayEnterprise_Eb2cCore_Model_Config_Registry |
|
35 | + * @param EbayEnterprise_Catalog_Helper_Map_Stock |
|
36 | + * @return array |
|
37 | + */ |
|
38 | 38 | protected function checkTypes( |
39 | 39 | EbayEnterprise_Eb2cCore_Model_Config_Registry $config, |
40 | 40 | EbayEnterprise_Catalog_Helper_Map_Stock $stock |
@@ -59,8 +59,7 @@ |
||
59 | 59 | Mage_Sales_Model_Order $order, |
60 | 60 | $shipmentId, |
61 | 61 | $trackingNumber=null |
62 | - ) |
|
63 | - { |
|
62 | + ) { |
|
64 | 63 | return func_get_args(); |
65 | 64 | } |
66 | 65 |