@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
50 | - * @return CartItem[] An array of CartItem objects |
|
50 | + * @return \ArrayIterator An array of CartItem objects |
|
51 | 51 | */ |
52 | 52 | public function getIterator() |
53 | 53 | { |
@@ -383,6 +383,9 @@ discard block |
||
383 | 383 | ); |
384 | 384 | } |
385 | 385 | |
386 | + /** |
|
387 | + * @param double $discount |
|
388 | + */ |
|
386 | 389 | public function setDiscount($discount) |
387 | 390 | { |
388 | 391 | $this->discount = $discount; |