Passed
Pull Request — master (#603)
by Šimon
02:35
created
examples/01-blog/Blog/Type/StoryType.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -121,15 +121,15 @@
 block discarded – undo
121 121
         return DataSource::findComments($story->id, $args['limit'], $args['after']);
122 122
     }
123 123
     
124
-    public function resolveMentions(Story $story, $args, AppContext $context){
124
+    public function resolveMentions(Story $story, $args, AppContext $context) {
125 125
         return DataSource::findStoryMentions($story->id);
126 126
     }
127 127
 
128
-    public function resolveLikedBy(Story $story, $args, AppContext $context){
129
-        return DataSource::findLikes($story->id,10);
128
+    public function resolveLikedBy(Story $story, $args, AppContext $context) {
129
+        return DataSource::findLikes($story->id, 10);
130 130
     }
131 131
 
132
-    public function resolveLikes(Story $story, $args, AppContext $context){
133
-        return DataSource::findLikes($story->id,10);
132
+    public function resolveLikes(Story $story, $args, AppContext $context) {
133
+        return DataSource::findLikes($story->id, 10);
134 134
     }
135 135
 }
Please login to merge, or discard this patch.
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.