@@ -74,8 +74,8 @@ discard block |
||
| 74 | 74 | * |
| 75 | 75 | * @param $session |
| 76 | 76 | * @param $events |
| 77 | - * @param $instanceName |
|
| 78 | - * @param $session_key |
|
| 77 | + * @param string $instanceName |
|
| 78 | + * @param string $session_key |
|
| 79 | 79 | * @param $config |
| 80 | 80 | */ |
| 81 | 81 | public function __construct($session, $events, $instanceName, $session_key, $config) |
@@ -706,7 +706,7 @@ discard block |
||
| 706 | 706 | /** |
| 707 | 707 | * add row to cart collection |
| 708 | 708 | * |
| 709 | - * @param $id |
|
| 709 | + * @param string $id |
|
| 710 | 710 | * @param $item |
| 711 | 711 | * @return bool |
| 712 | 712 | */ |
@@ -730,7 +730,7 @@ discard block |
||
| 730 | 730 | /** |
| 731 | 731 | * save the cart |
| 732 | 732 | * |
| 733 | - * @param $cart CartCollection |
|
| 733 | + * @param CartCollection $cart CartCollection |
|
| 734 | 734 | */ |
| 735 | 735 | protected function save($cart) |
| 736 | 736 | { |
@@ -740,7 +740,7 @@ discard block |
||
| 740 | 740 | /** |
| 741 | 741 | * save the cart conditions |
| 742 | 742 | * |
| 743 | - * @param $conditions |
|
| 743 | + * @param CartConditionCollection $conditions |
|
| 744 | 744 | */ |
| 745 | 745 | protected function saveConditions($conditions) |
| 746 | 746 | { |
@@ -834,7 +834,7 @@ discard block |
||
| 834 | 834 | } |
| 835 | 835 | |
| 836 | 836 | /** |
| 837 | - * @param $name |
|
| 837 | + * @param string $name |
|
| 838 | 838 | * @param $value |
| 839 | 839 | * @return mixed |
| 840 | 840 | */ |
@@ -846,10 +846,9 @@ discard block |
||
| 846 | 846 | /** |
| 847 | 847 | * Associate the cart item with the given id with the given model. |
| 848 | 848 | * |
| 849 | - * @param string $id |
|
| 850 | 849 | * @param mixed $model |
| 851 | 850 | * |
| 852 | - * @return void |
|
| 851 | + * @return Cart |
|
| 853 | 852 | */ |
| 854 | 853 | public function associate($model) |
| 855 | 854 | { |