@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | /** |
| 50 | 50 | * update the cart in the Session |
| 51 | 51 | * |
| 52 | - * @return update the session cart array and the cart object |
|
| 52 | + * @return ShoppingCart the session cart array and the cart object |
|
| 53 | 53 | */ |
| 54 | 54 | public function update() |
| 55 | 55 | { |
@@ -125,7 +125,6 @@ discard block |
||
| 125 | 125 | /** |
| 126 | 126 | * Reduce 1 item from the Cart |
| 127 | 127 | * |
| 128 | - * @param object $item item to reduce by 1 |
|
| 129 | 128 | * |
| 130 | 129 | * @return update the session cart array and the cart object |
| 131 | 130 | */ |
@@ -152,7 +151,6 @@ discard block |
||
| 152 | 151 | /** |
| 153 | 152 | * Remove item from the Cart |
| 154 | 153 | * |
| 155 | - * @param object $item item to remove |
|
| 156 | 154 | * |
| 157 | 155 | * @return update the session cart array and the cart object |
| 158 | 156 | */ |
@@ -186,7 +184,7 @@ discard block |
||
| 186 | 184 | /** |
| 187 | 185 | * get the cart items total price |
| 188 | 186 | * |
| 189 | - * @return the cart total price |
|
| 187 | + * @return double|null cart total price |
|
| 190 | 188 | */ |
| 191 | 189 | public function total() |
| 192 | 190 | { |
@@ -201,7 +199,7 @@ discard block |
||
| 201 | 199 | * |
| 202 | 200 | * @param options array |
| 203 | 201 | * |
| 204 | - * @return uniqueIndex for the shopping cart |
|
| 202 | + * @return string for the shopping cart |
|
| 205 | 203 | */ |
| 206 | 204 | public function createUniqueIndex($id, $options) |
| 207 | 205 | { |
@@ -262,7 +260,7 @@ discard block |
||
| 262 | 260 | * |
| 263 | 261 | * @param integer $qty |
| 264 | 262 | * |
| 265 | - * @return void |
|
| 263 | + * @return false|null |
|
| 266 | 264 | */ |
| 267 | 265 | public function updateItem($uniqueIndex, $qty) |
| 268 | 266 | { |