@@ -82,7 +82,7 @@ |
||
82 | 82 | /** |
83 | 83 | * Execute the console command. |
84 | 84 | * |
85 | - * @return mixed |
|
85 | + * @return false|null |
|
86 | 86 | */ |
87 | 87 | public function handle() |
88 | 88 | { |
@@ -19,7 +19,7 @@ |
||
19 | 19 | |
20 | 20 | /** |
21 | 21 | * Create a new instance. |
22 | - * @param Illuminate\Filesystem\Filesystem $files |
|
22 | + * @param Filesystem $files |
|
23 | 23 | */ |
24 | 24 | public function __construct(Filesystem $files) |
25 | 25 | { |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | /** |
52 | 52 | * update the cart in the Session |
53 | 53 | * |
54 | - * @return update the session cart array and the cart object |
|
54 | + * @return ShoppingCart the session cart array and the cart object |
|
55 | 55 | */ |
56 | 56 | public function update() |
57 | 57 | { |
@@ -129,7 +129,6 @@ discard block |
||
129 | 129 | /** |
130 | 130 | * Reduce 1 item from the Cart |
131 | 131 | * |
132 | - * @param object $item item to reduce by 1 |
|
133 | 132 | * |
134 | 133 | * @return update the session cart array and the cart object |
135 | 134 | */ |
@@ -156,7 +155,6 @@ discard block |
||
156 | 155 | /** |
157 | 156 | * Remove item from the Cart |
158 | 157 | * |
159 | - * @param object $item item to remove |
|
160 | 158 | * |
161 | 159 | * @return update the session cart array and the cart object |
162 | 160 | */ |
@@ -190,7 +188,7 @@ discard block |
||
190 | 188 | /** |
191 | 189 | * get the cart items total price |
192 | 190 | * |
193 | - * @return the cart total price |
|
191 | + * @return double|null cart total price |
|
194 | 192 | */ |
195 | 193 | public function total() |
196 | 194 | { |
@@ -205,7 +203,7 @@ discard block |
||
205 | 203 | * |
206 | 204 | * @param options array |
207 | 205 | * |
208 | - * @return uniqueIndex for the shopping cart |
|
206 | + * @return string for the shopping cart |
|
209 | 207 | */ |
210 | 208 | public function createUniqueIndex($id, $options) |
211 | 209 | { |
@@ -267,7 +265,7 @@ discard block |
||
267 | 265 | * |
268 | 266 | * @param integer $qty |
269 | 267 | * |
270 | - * @return void |
|
268 | + * @return false|null |
|
271 | 269 | */ |
272 | 270 | public function updateItem($uniqueIndex, $qty) |
273 | 271 | { |