@@ -19,7 +19,6 @@ |
||
| 19 | 19 | * |
| 20 | 20 | * @link https://github.com/lenius/basket |
| 21 | 21 | */ |
| 22 | -use Lenius\Basket\Basket; |
|
| 23 | 22 | use Lenius\Basket\Item; |
| 24 | 23 | use PHPUnit\Framework\TestCase; |
| 25 | 24 | |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | * |
| 113 | 113 | * @param string $itemIdentifier The unique item identifier |
| 114 | 114 | * @param mixed $key The key to update, or an array of key-value pairs |
| 115 | - * @param mixed $value The value to set $key to |
|
| 115 | + * @param string $value The value to set $key to |
|
| 116 | 116 | */ |
| 117 | 117 | public function update($itemIdentifier, $key, $value = null) |
| 118 | 118 | { |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | /** |
| 183 | 183 | * The total tax value for the basket. |
| 184 | 184 | * |
| 185 | - * @return float The total tax value |
|
| 185 | + * @return integer The total tax value |
|
| 186 | 186 | */ |
| 187 | 187 | public function tax() |
| 188 | 188 | { |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | /** |
| 200 | 200 | * The total weight value for the basket. |
| 201 | 201 | * |
| 202 | - * @return float The total weight value |
|
| 202 | + * @return integer The total weight value |
|
| 203 | 203 | */ |
| 204 | 204 | public function weight() |
| 205 | 205 | { |