Passed
Push — master ( 6fd55f...3cccd4 )
by Šimon
06:47 queued 03:57
created
benchmarks/HugeSchemaBench.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
         return new Schema(
68 68
             SchemaConfig::create()
69 69
                 ->setQuery($this->schemaBuilder->buildQueryType())
70
-                ->setTypeLoader(function ($name) {
70
+                ->setTypeLoader(function($name) {
71 71
                     return $this->schemaBuilder->loadType($name);
72 72
                 })
73 73
         );
Please login to merge, or discard this patch.
benchmarks/Utils/QueryGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
         $totalFields = 0;
35 35
         foreach ($schema->getTypeMap() as $type) {
36
-            if (! ($type instanceof ObjectType)) {
36
+            if (!($type instanceof ObjectType)) {
37 37
                 continue;
38 38
             }
39 39
 
Please login to merge, or discard this patch.
benchmarks/Utils/SchemaGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     {
57 57
         if ($this->typeIndex > $this->config['totalTypes']) {
58 58
             throw new \Exception(
59
-                "Cannot create new type: there are already {$this->typeIndex} ".
59
+                "Cannot create new type: there are already {$this->typeIndex} " .
60 60
                 "which exceeds allowed number of {$this->config['totalTypes']} types total"
61 61
             );
62 62
         }
Please login to merge, or discard this patch.
examples/00-hello-world/graphql.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
                 'args' => [
20 20
                     'message' => ['type' => Type::string()],
21 21
                 ],
22
-                'resolve' => function ($rootValue, $args) {
22
+                'resolve' => function($rootValue, $args) {
23 23
                     return $rootValue['prefix'] . $args['message'];
24 24
                 }
25 25
             ],
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
                     'x' => ['type' => Type::int()],
36 36
                     'y' => ['type' => Type::int()],
37 37
                 ],
38
-                'resolve' => function ($calc, $args) {
38
+                'resolve' => function($calc, $args) {
39 39
                     return $args['x'] + $args['y'];
40 40
                 },
41 41
             ],
Please login to merge, or discard this patch.