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.
Has
scope
1 parent 15c1e3b commit 75a6360Copy full SHA for 75a6360
CHANGELOG.md
@@ -11,6 +11,7 @@ and this project adheres to
11
### Fixed
12
13
- When creating a resource, set the context model prior to field validation
14
+- Laravel: Fix `Has` filter not working without a `scope`
15
16
## [1.0.0-beta.1] - 2023-09-24
17
src/Laravel/Filter/Has.php
@@ -9,7 +9,7 @@
9
class Has extends Filter
10
{
public ?string $relation = null;
- public ?Closure $scope;
+ public ?Closure $scope = null;
public static function make(string $name): static
0 commit comments