Completed
Pull Request — 2.0 (#516)
by Roman
29:35
created
code/cart/ShoppingCart.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
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
@@ -258,7 +258,6 @@  discard block
 block discarded – undo
258 258
      * Finds an existing order item.
259 259
      *
260 260
      * @param Buyable $buyable
261
-     * @param string $filter
262 261
      *
263 262
      * @return the item requested, or false
264 263
      */
@@ -360,6 +359,7 @@  discard block
 block discarded – undo
360 359
 
361 360
     /**
362 361
      * Store a new error.
362
+     * @param string $message
363 363
      */
364 364
     protected function error($message)
365 365
     {
@@ -457,6 +457,8 @@  discard block
 block discarded – undo
457 457
 
458 458
     /**
459 459
      * Helper for creating a url
460
+     * @param string $action
461
+     * @param Buyable $buyable
460 462
      */
461 463
     protected static function build_url($action, $buyable, $params = array())
462 464
     {
Please login to merge, or discard this patch.