mirror of
https://github.com/flextype/flextype.git
synced 2025-08-09 14:46:53 +02:00
feat(helpers): update ArraysFilterHelper return type
This commit is contained in:
@@ -22,6 +22,8 @@ if (! function_exists('arrays_filter')) {
|
||||
{
|
||||
$collection = arrays($items);
|
||||
|
||||
! isset($filter['return']) AND $filter['return'] = 'all';
|
||||
|
||||
if (isset($filter['where'])) {
|
||||
if (is_array($filter['where'])) {
|
||||
foreach ($filter['where'] as $key => $value) {
|
||||
|
Reference in New Issue
Block a user