mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-22 15:15:27 +00:00
Updated search method on collections so they match with the default collection search method signature
This commit is contained in:
@@ -51,7 +51,7 @@ class CartRowCollection extends Collection {
|
||||
return null;
|
||||
}
|
||||
|
||||
public function search(array $search)
|
||||
public function search($search, $strict = false)
|
||||
{
|
||||
foreach($search as $key => $value)
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ class CartRowOptionsCollection extends Collection {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
public function search(Array $search)
|
||||
public function search($search, $strict = false)
|
||||
{
|
||||
foreach($search as $key => $value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user