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 a0b024e commit 4f17495Copy full SHA for 4f17495
src/Laravel/EloquentBuffer.php
@@ -73,8 +73,7 @@ public static function load(
73
$resource->scope($query, $context);
74
75
if (
76
- ($relationship instanceof ToMany ||
77
- $relationship instanceof ToOne) &&
+ ($relationship instanceof ToMany || $relationship instanceof ToOne) &&
78
$relationship->scope
79
) {
80
($relationship->scope)($relation, $context);
0 commit comments