Completed
Push — master ( 513975...cf9360 )
by Dominik
01:48
created
src/Resolver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.