Skip to content

Commit

Permalink
Fix: Fallback for plain related values. (#300)
Browse files Browse the repository at this point in the history
* Fix: Fallback for plain related values.

* Apply fixes from StyleCI (#301)
  • Loading branch information
binaryk authored Dec 9, 2020
1 parent 66d7b1c commit 6bbdaec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repositories/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => $withs->put($relation, $paginator)
fn () => fn () => $withs->put($relation, $paginator)
)();
});

Expand Down

0 comments on commit 6bbdaec

Please sign in to comment.