Skip to content

Commit

Permalink
[rector] Rector fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and github-actions[bot] committed Feb 12, 2025
1 parent 1904635 commit 05703ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Laravel/src/Traits/Resource/ResourceModelQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ protected function withFilters(): static
}

$filters->each(function (Field $filter): void {
$filter->onRequestValue(fn(mixed $value) => $value === false ? $filter->getValue() : $value);
$filter->onRequestValue(fn(mixed $value): mixed => $value === false ? $filter->getValue() : $value);

if ($filter->getRequestValue() === false) {
return;
Expand Down

0 comments on commit 05703ec

Please sign in to comment.