Completed
Push — master ( 4399f1...428ab2 )
by
unknown
04:54
created
src/DataLoader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.