Skip to content

Commit ae299df

Browse files
authored
Merge pull request #240 from livevasiliy/master
Fix @PHPDoc for method update
2 parents 880657e + 8dbe095 commit ae299df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Darryldecode/Cart/Cart.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public function add($id, $name = null, $price = null, $quantity = null, $attribu
225225
* update a cart
226226
*
227227
* @param $id
228-
* @param $data
228+
* @param array $data
229229
*
230230
* the $data will be an associative array, you don't need to pass all the data, only the key value
231231
* of the item you want to update on it

0 commit comments

Comments
 (0)