Test Setup Failed
Push — master ( 9947f0...d5c2d1 )
by Carsten
18:03 queued 12s
created
tests/ItemTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Basket.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.