Completed
Push — master ( 178eea...686b71 )
by Alexandr
02:49
created
Tests/Performance/NPlusOneTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
             ['id' => 2, 'name' => 'Alex'],
32 32
             ['id' => 3, 'name' => 'Mike'],
33 33
         ];
34
-        $posts   = [];
34
+        $posts = [];
35 35
         for ($i = 0; $i < 10; $i++) {
36 36
             $posts[] = [
37 37
                 'id'     => $i + 1,
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
                 'fields' => [
68 68
                     'posts' => [
69 69
                         'type'    => new ListType($postType),
70
-                        'resolve' => function ($source, $args, $info) {
70
+                        'resolve' => function($source, $args, $info) {
71 71
                             return $this->getDataForPosts();
72 72
                         }
73 73
                     ]
Please login to merge, or discard this patch.