@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * |
105 | 105 | * @param string $sku the stock-keeping unit. |
106 | 106 | * @param int $qty the new quantity available to promise. |
107 | - * @return bool true if the inventory was updated |
|
107 | + * @return EbayEnterprise_Eb2cInventory_Model_Feed_Item_Inventories true if the inventory was updated |
|
108 | 108 | */ |
109 | 109 | protected function updateInventory($sku, $qty) |
110 | 110 | { |
@@ -121,6 +121,7 @@ discard block |
||
121 | 121 | * |
122 | 122 | * @param string |
123 | 123 | * @param int |
124 | + * @param integer $quantity |
|
124 | 125 | * @return self |
125 | 126 | */ |
126 | 127 | protected function updateProductInventory($id, $quantity) |
@@ -154,6 +155,7 @@ discard block |
||
154 | 155 | * Log a warning if the requested sku cannot be found. |
155 | 156 | * |
156 | 157 | * @param string |
158 | + * @param string $sku |
|
157 | 159 | * @return self |
158 | 160 | */ |
159 | 161 | protected function handleSkuNotFound($sku) |
@@ -223,7 +223,7 @@ |
||
223 | 223 | * |
224 | 224 | * @param int $minQty Min qty to be in stock |
225 | 225 | * @param int $updateQty Qty item is being updated to |
226 | - * @param int $isInStock Should be considered in stock |
|
226 | + * @param int $wasInStock Should be considered in stock |
|
227 | 227 | * @param bool |
228 | 228 | * @dataProvider provideInStockStatuses |
229 | 229 | */ |