@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function find(RepositoryInterface $repository, string $id): \Closure |
14 | 14 | { |
15 | - return function () use ($repository, $id) { |
|
15 | + return function() use ($repository, $id) { |
|
16 | 16 | return $repository->find($id); |
17 | 17 | }; |
18 | 18 | } |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | */ |
26 | 26 | public function findOneBy(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 | } |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | int $limit = null, |
47 | 47 | int $offset = null |
48 | 48 | ): \Closure { |
49 | - return function () use ($repository, $criteria, $orderBy, $limit, $offset) { |
|
49 | + return function() use ($repository, $criteria, $orderBy, $limit, $offset) { |
|
50 | 50 | return $repository->findBy($criteria, $orderBy, $limit, $offset); |
51 | 51 | }; |
52 | 52 | } |