@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | * |
55 | 55 | * @param object $db The webshop object |
56 | 56 | * @param object $intranet The webshop object |
57 | - * @param object $webshop The webshop object |
|
57 | + * @param object $shop The webshop object |
|
58 | 58 | * @param string $session_id A session id |
59 | 59 | * |
60 | 60 | * @return void |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * @param integer $product_id Product to remove |
105 | 105 | * @param integer $quantity How many should be removed |
106 | 106 | * |
107 | - * @return boelean |
|
107 | + * @return boolean |
|
108 | 108 | */ |
109 | 109 | public function remove($product_id, $product_variation_id = 0, $quantity = 1) |
110 | 110 | { |
@@ -122,6 +122,7 @@ discard block |
||
122 | 122 | * @param integer $quantity The quantity |
123 | 123 | * @param string $text To add description to product, not yet implemented |
124 | 124 | * @param integer $basketevaluation Wheter the product is from basketevaluation |
125 | + * @param integer $product_variation_id |
|
125 | 126 | * |
126 | 127 | * @return boolean |
127 | 128 | */ |
@@ -530,7 +531,7 @@ discard block |
||
530 | 531 | /** |
531 | 532 | * Gets the total weight of the basket |
532 | 533 | * |
533 | - * @return float |
|
534 | + * @return integer |
|
534 | 535 | */ |
535 | 536 | public function getTotalWeight() |
536 | 537 | { |
@@ -34,7 +34,6 @@ discard block |
||
34 | 34 | /** |
35 | 35 | * Constructor |
36 | 36 | * |
37 | - * @param object $kernel Kernel registry |
|
38 | 37 | * @param int $id Id of the BasketEvaluation |
39 | 38 | * |
40 | 39 | * @return void |
@@ -106,6 +105,9 @@ discard block |
||
106 | 105 | return true; |
107 | 106 | } |
108 | 107 | |
108 | + /** |
|
109 | + * @param Struct $input |
|
110 | + */ |
|
109 | 111 | function validate($input) |
110 | 112 | { |
111 | 113 | $validator = new Intraface_Validator($this->error); |
@@ -226,7 +226,6 @@ discard block |
||
226 | 226 | * |
227 | 227 | * @param array $input Array with customer data |
228 | 228 | * @param array $products Array with products |
229 | - * @param object $mailer mailer to send e-mail |
|
230 | 229 | * |
231 | 230 | * @return integer Order id |
232 | 231 | */ |
@@ -392,9 +391,9 @@ discard block |
||
392 | 391 | * @param integer $order_id |
393 | 392 | * @param integer $transaction_number |
394 | 393 | * @param integer $transaction_status |
395 | - * @param float $transaction_amount |
|
394 | + * @param integer $amount |
|
396 | 395 | * |
397 | - * @return boolean |
|
396 | + * @return integer |
|
398 | 397 | */ |
399 | 398 | public function addOnlinePayment($order_id, $transaction_number, $transaction_status, $amount) |
400 | 399 | { |
@@ -434,6 +433,9 @@ discard block |
||
434 | 433 | } |
435 | 434 | } |
436 | 435 | |
436 | + /** |
|
437 | + * @param integer $payment_id |
|
438 | + */ |
|
437 | 439 | private function sendEmailOnOnlinePayment($payment_id) |
438 | 440 | { |
439 | 441 | $this->kernel->useShared('email'); |
@@ -33,10 +33,10 @@ |
||
33 | 33 | } |
34 | 34 | |
35 | 35 | /** |
36 | - * @param string $headline Headline |
|
37 | 36 | * @param object $keyword Keyword object |
37 | + * @param string $description |
|
38 | 38 | * |
39 | - * @return integer |
|
39 | + * @return boolean |
|
40 | 40 | */ |
41 | 41 | function add($description, $keyword) |
42 | 42 | { |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | /** |
19 | 19 | * Constructor |
20 | 20 | * |
21 | - * @param object $todo Todo liste |
|
21 | + * @param TodoList $todo Todo liste |
|
22 | 22 | * @param integer $id Id for item |
23 | 23 | * |
24 | 24 | * @return void |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | * |
160 | 160 | * @param object $db Database object |
161 | 161 | * |
162 | - * @return object |
|
162 | + * @return Ilib_Position |
|
163 | 163 | */ |
164 | 164 | public function getPosition($db) |
165 | 165 | { |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | * |
110 | 110 | * @param integer $id Id for specific item |
111 | 111 | * |
112 | - * @return array |
|
112 | + * @return TodoItem |
|
113 | 113 | */ |
114 | 114 | public function getItem($id = 0) |
115 | 115 | { |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | * |
125 | 125 | * @deprecated |
126 | 126 | * |
127 | - * @return array |
|
127 | + * @return TodoItem |
|
128 | 128 | */ |
129 | 129 | private function loadItem($id = 0) |
130 | 130 | { |
@@ -87,7 +87,7 @@ |
||
87 | 87 | * @param integer $product_id Product to remove |
88 | 88 | * @param integer $quantity How many should be removed |
89 | 89 | * |
90 | - * @return boelean |
|
90 | + * @return boolean |
|
91 | 91 | */ |
92 | 92 | public function remove($product_id, $quantity = 1) |
93 | 93 | { |
@@ -112,6 +112,9 @@ |
||
112 | 112 | return true; |
113 | 113 | } |
114 | 114 | |
115 | + /** |
|
116 | + * @param Struct $input |
|
117 | + */ |
|
115 | 118 | function validate($input) |
116 | 119 | { |
117 | 120 | $validator = new Intraface_Validator($this->error); |
@@ -27,10 +27,10 @@ |
||
27 | 27 | } |
28 | 28 | |
29 | 29 | /** |
30 | - * @param string $headline Headline |
|
31 | - * @param object $keyword Keyword object |
|
30 | + * @param FakeFeaturedProductsKeyword $keyword Keyword object |
|
31 | + * @param string $description |
|
32 | 32 | * |
33 | - * @return integer |
|
33 | + * @return boolean |
|
34 | 34 | */ |
35 | 35 | function add($description, $keyword) |
36 | 36 | { |