Skip to content

Commit 6bbdaec

Browse files
authored
Fix: Fallback for plain related values. (#300)
* Fix: Fallback for plain related values. * Apply fixes from StyleCI (#301)
1 parent 66d7b1c commit 6bbdaec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Repositories/Repository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ public function resolveRelationships($request): array
543543
Model::class => fn () => fn () => $withs->put($relation, $paginator),
544544

545545
])->first(fn ($fn, $class) => $paginator instanceof $class,
546-
fn () => $withs->put($relation, $paginator)
546+
fn () => fn () => $withs->put($relation, $paginator)
547547
)();
548548
});
549549

0 commit comments

Comments
 (0)