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 0b936e2 commit 9ce90cbCopy full SHA for 9ce90cb
src/Providers/CrudProvider.php
@@ -147,10 +147,10 @@ function (
147
Relation::macro('noConstraintsForRelationName', function (?string $relation = null): ?string {
148
if (\property_exists(Relation::class, 'noConstraintsForRelationName')) {
149
if (\func_num_args() === 0) {
150
- return static::noConstraintsForRelationName;
+ return static::$noConstraintsForRelationName;
151
}
152
153
- return static::noConstraintsForRelationName = $relation;
+ return static::$noConstraintsForRelationName = $relation;
154
155
156
global $noConstraintsForRelationName;
0 commit comments