Updated search method on collections so they match with the default collection search method signature

This commit is contained in:
Rob Gloudemans
2014-06-02 11:40:24 +02:00
parent 62bf2c0859
commit 47a8b07549
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ class CartRowCollection extends Collection {
return null; return null;
} }
public function search(array $search) public function search($search, $strict = false)
{ {
foreach($search as $key => $value) foreach($search as $key => $value)
{ {

View File

@@ -19,7 +19,7 @@ class CartRowOptionsCollection extends Collection {
return NULL; return NULL;
} }
public function search(Array $search) public function search($search, $strict = false)
{ {
foreach($search as $key => $value) foreach($search as $key => $value)
{ {