@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | public function findResolver(RepositoryInterface $repository, string $id): \Closure |
| 15 | 15 | { |
| 16 | - return function () use ($repository, $id) { |
|
| 16 | + return function() use ($repository, $id) { |
|
| 17 | 17 | return $repository->find($id); |
| 18 | 18 | }; |
| 19 | 19 | } |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | */ |
| 26 | 26 | public function findOneByResolver(RepositoryInterface $repository, array $criteria): \Closure |
| 27 | 27 | { |
| 28 | - return function () use ($repository, $criteria) { |
|
| 28 | + return function() use ($repository, $criteria) { |
|
| 29 | 29 | return $repository->findOneBy($criteria); |
| 30 | 30 | }; |
| 31 | 31 | } |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | int $limit = null, |
| 46 | 46 | int $offset = null |
| 47 | 47 | ): ModelCollection { |
| 48 | - return new LazyModelCollection(function () use ($repository, $criteria, $orderBy, $limit, $offset) { |
|
| 48 | + return new LazyModelCollection(function() use ($repository, $criteria, $orderBy, $limit, $offset) { |
|
| 49 | 49 | return $repository->findBy($criteria, $orderBy, $limit, $offset); |
| 50 | 50 | }); |
| 51 | 51 | } |