diff --git a/src/Repositories/Repository.php b/src/Repositories/Repository.php index ed56e3b66..2c202be30 100644 --- a/src/Repositories/Repository.php +++ b/src/Repositories/Repository.php @@ -543,7 +543,7 @@ public function resolveRelationships($request): array Model::class => fn () => fn () => $withs->put($relation, $paginator), ])->first(fn ($fn, $class) => $paginator instanceof $class, - fn() => fn() => $withs->put($relation, $paginator) + fn () => fn () => $withs->put($relation, $paginator) )(); });