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 7e2e026 commit 0da690dCopy full SHA for 0da690d
src/AllowedFilter.php
@@ -145,7 +145,7 @@ public function hasDefault(): bool
145
protected function resolveValueForFiltering($value)
146
{
147
if (is_array($value)) {
148
- $remainingProperties = array_diff($value, $this->ignored->toArray());
+ $remainingProperties = array_diff_assoc($value, $this->ignored->toArray());
149
150
return ! empty($remainingProperties) ? $remainingProperties : null;
151
}
0 commit comments