Completed
Branch master (98d342)
by Carsten
08:30
created
src/Lenius/Basket/Storage/Runtime.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -63,7 +63,6 @@  discard block
 block discarded – undo
63 63
     /**
64 64
      * Check if the item exists in the cart
65 65
      *
66
-     * @param  mixed  $id
67 66
      * @return boolean
68 67
      */
69 68
     public function has($identifier)
@@ -80,7 +79,6 @@  discard block
 block discarded – undo
80 79
     /**
81 80
      * Get a single cart item by id
82 81
      *
83
-     * @param  mixed $id The item id
84 82
      * @return Item  The item class
85 83
      */
86 84
     public function item($identifier)
@@ -135,7 +133,6 @@  discard block
 block discarded – undo
135 133
     /**
136 134
      * Set the cart identifier
137 135
      *
138
-     * @param string $identifier
139 136
      */
140 137
     public function setIdentifier($id)
141 138
     {
Please login to merge, or discard this patch.
src/Lenius/Basket/StorageInterface.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * Check if the item exists in the cart
42 42
      *
43
-     * @param  mixed  $id
43
+     * @param string $identifier
44 44
      * @return boolean
45 45
      */
46 46
     public function has($identifier);
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * Get a single cart item by id
50 50
      *
51
-     * @param  mixed $id The item id
51
+     * @param string $identifier
52 52
      * @return Item  The item class
53 53
      */
54 54
     public function item($identifier);
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     /**
65 65
      * Remove an item from the cart
66 66
      *
67
-     * @param  mixed $id
67
+     * @param  string $id
68 68
      * @return void
69 69
      */
70 70
     public function remove($id);
@@ -80,6 +80,7 @@  discard block
 block discarded – undo
80 80
      * Set the cart identifier
81 81
      *
82 82
      * @param string $identifier
83
+     * @return void
83 84
      */
84 85
     public function setIdentifier($identifier);
85 86
     
Please login to merge, or discard this patch.