We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 773b27e commit 99f3cb3Copy full SHA for 99f3cb3
src/Traits/Helpers/FilterHelpers.php
@@ -240,8 +240,8 @@ public function getAppliedFiltersWithValues(): array
240
{
241
return $this->appliedFilters = array_filter($this->getAppliedFilters(), function ($item, $key) {
242
$filter = $this->getFilterByKey($key);
243
- $item = (!is_null($item) && !$filter->isEmpty($item)) ? $filter->validate($item) : $item;
244
-
+ $item = (! is_null($item) && ! $filter->isEmpty($item)) ? $filter->validate($item) : $item;
+
245
return ! $filter->isEmpty($item) && (is_array($item) ? count($item) : $item !== null);
246
}, ARRAY_FILTER_USE_BOTH);
247
}
0 commit comments