mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-19 22:05:18 +00:00
Added typehint to search method
This commit is contained in:
@@ -210,7 +210,7 @@ class Cart {
|
||||
* @param Array $search An array with the item ID and optional options
|
||||
* @return Array|boolean
|
||||
*/
|
||||
public function search($search)
|
||||
public function search(Array $search)
|
||||
{
|
||||
foreach($this->getContent() as $item)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user