Completed
Push — master ( 97be4b...1dea1e )
by Portey
03:17
created
src/Definition/QueryType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
             ->addField('kind', 'string')
23 23
             ->addField('description', 'string')
24 24
             ->addField('ofType', new QueryListType(), [
25
-                'resolve' => function () {
25
+                'resolve' => function() {
26 26
                     return [];
27 27
                 }
28 28
             ])
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     public function resolve($value = null, $args = [])
37 37
     {
38 38
         /** @var Schema|Field  $value */
39
-        if($value instanceof Schema){
39
+        if ($value instanceof Schema) {
40 40
             return $value->getQueryType();
41 41
         }
42 42
 
Please login to merge, or discard this patch.
src/Definition/QueryListType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
             if (!array_key_exists($name, $this->types)) {
56 56
                 $this->types[$name] = $field->getConfig()->getType();
57 57
 
58
-                if($subFields) {
58
+                if ($subFields) {
59 59
                     $this->collectTypes($subFields);
60 60
                 }
61 61
             }
Please login to merge, or discard this patch.
src/Definition/FieldListType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
     public function resolve($value = null, $args = [])
29 29
     {
30
-        if($value instanceof AbstractScalarType){
30
+        if ($value instanceof AbstractScalarType) {
31 31
             return [];
32 32
         }
33 33
 
Please login to merge, or discard this patch.