@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | */ |
26 | 26 | public function __invoke($batchLoadFunction) |
27 | 27 | { |
28 | - if (! $batchLoadFunction instanceof Closure) { |
|
28 | + if (!$batchLoadFunction instanceof Closure) { |
|
29 | 29 | $batchLoadFunction = Closure::fromCallable($batchLoadFunction); |
30 | 30 | } |
31 | 31 | |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | private function makeLoader(Closure $batchLoadFunction) |
47 | 47 | { |
48 | 48 | return new LeinonenDataLoader( |
49 | - function (...$arguments) use ($batchLoadFunction) { |
|
49 | + function(...$arguments) use ($batchLoadFunction) { |
|
50 | 50 | $result = $batchLoadFunction(...$arguments); |
51 | 51 | if ($result instanceof Collection) { |
52 | 52 | $result = $result->all(); |