@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * Adds an item to the cart |
109 | 109 | * |
110 | 110 | * @param Buyable $buyable |
111 | - * @param number $quantity |
|
111 | + * @param integer $quantity |
|
112 | 112 | * @param unknown $filter |
113 | 113 | * |
114 | 114 | * @return boolean|OrderItem false or the new/existing item |
@@ -259,7 +259,6 @@ discard block |
||
259 | 259 | * Finds an existing order item. |
260 | 260 | * |
261 | 261 | * @param Buyable $buyable |
262 | - * @param array $filter |
|
263 | 262 | * |
264 | 263 | * @return OrderItem the item requested, or false |
265 | 264 | */ |
@@ -361,6 +360,7 @@ discard block |
||
361 | 360 | |
362 | 361 | /** |
363 | 362 | * Store a new error. |
363 | + * @param string $message |
|
364 | 364 | */ |
365 | 365 | protected function error($message) |
366 | 366 | { |
@@ -458,6 +458,8 @@ discard block |
||
458 | 458 | |
459 | 459 | /** |
460 | 460 | * Helper for creating a url |
461 | + * @param string $action |
|
462 | + * @param Buyable $buyable |
|
461 | 463 | */ |
462 | 464 | protected static function build_url($action, $buyable, $params = array()) |
463 | 465 | { |