@@ -212,7 +212,6 @@ discard block |
||
212 | 212 | * |
213 | 213 | * @param struct $credentials Credentials to use the server |
214 | 214 | * @param integer $shop_id Id for the shop |
215 | - * @param integer $id Product id |
|
216 | 215 | * |
217 | 216 | * @return array |
218 | 217 | */ |
@@ -328,7 +327,7 @@ discard block |
||
328 | 327 | * |
329 | 328 | * @param struct $credentials Credentials to use the server |
330 | 329 | * @param integer $shop_id Id for the shop |
331 | - * @param integer $produt_id Product id to add |
|
330 | + * @param integer $product_id Product id to add |
|
332 | 331 | * @param integer $product_variation_id Product variation id to change |
333 | 332 | * @param integer $quantity Optional quantity |
334 | 333 | * @param string $text Extra text to the itemline |
@@ -371,7 +370,7 @@ discard block |
||
371 | 370 | * @param string $text Extra text to the itemline |
372 | 371 | * @param integer $product_detail_id Product detail id |
373 | 372 | * |
374 | - * @return mixed |
|
373 | + * @return boolean |
|
375 | 374 | */ |
376 | 375 | public function changeProductInBasket($credentials, $shop_id, $product_id, $product_variation_id, $quantity, $text = '', $product_detail_id = 0) |
377 | 376 | { |
@@ -791,6 +790,7 @@ discard block |
||
791 | 790 | /** |
792 | 791 | * Initialize the webshop |
793 | 792 | * |
793 | + * @param integer $shop_id |
|
794 | 794 | * @return void |
795 | 795 | */ |
796 | 796 | private function _factoryWebshop($shop_id) |
@@ -9,6 +9,9 @@ |
||
9 | 9 | public $kernel; |
10 | 10 | public $cmssite; |
11 | 11 | |
12 | + /** |
|
13 | + * @param Stub_Kernel $kernel |
|
14 | + */ |
|
12 | 15 | function __construct($kernel) |
13 | 16 | { |
14 | 17 | $this->kernel = $kernel; |
@@ -6,6 +6,10 @@ |
||
6 | 6 | class FakeStockProduct |
7 | 7 | { |
8 | 8 | public $kernel; |
9 | + |
|
10 | + /** |
|
11 | + * @param Stub_Kernel $kernel |
|
12 | + */ |
|
9 | 13 | function __construct($kernel) |
10 | 14 | { |
11 | 15 | $this->kernel = $kernel; |
@@ -294,7 +294,7 @@ |
||
294 | 294 | * |
295 | 295 | * @param integer $id Contact id |
296 | 296 | * |
297 | - * @return object |
|
297 | + * @return Contact |
|
298 | 298 | */ |
299 | 299 | function getContact($id) |
300 | 300 | { |