Skip to content

Commit

Permalink
fix eager loading retroactively laravel/framework#51825
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius committed Nov 21, 2024
1 parent e1a6899 commit aae9bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Eloquent/CustomRelations/RelationCleverTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ trait RelationCleverTrait
/**
* Indicates if the relation is adding constraints.
*/
protected static bool $constraints = true;
protected static $constraints = true;

/**
* Run a callback with constraints disabled on the relation based on relationName.
Expand Down

0 comments on commit aae9bfc

Please sign in to comment.