Completed
Push — master ( bd0485...10acd3 )
by Portey
03:02
created
src/Introspection/Traits/TypeCollectorTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,16 +36,16 @@
 block discarded – undo
36 36
                     $outputType = $type->getConfig()->getOutputType();
37 37
 
38 38
                     if ($outputType) {
39
-                        if($this->insertType($outputType->getName(), $outputType)) {
39
+                        if ($this->insertType($outputType->getName(), $outputType)) {
40 40
                             $this->collectFieldsArgsTypes($outputType);
41 41
                         }
42 42
                     }
43 43
                 } else {
44 44
                     $interfaces = $type->getConfig()->getInterfaces();
45 45
 
46
-                    if(is_array($interfaces) && $interfaces) {
47
-                        foreach($interfaces as $interface){
48
-                            if($this->insertType($interface->getName(), $interface)){
46
+                    if (is_array($interfaces) && $interfaces) {
47
+                        foreach ($interfaces as $interface) {
48
+                            if ($this->insertType($interface->getName(), $interface)) {
49 49
                                 $this->collectFieldsArgsTypes($interface);
50 50
                             }
51 51
                         }
Please login to merge, or discard this patch.
src/Introspection/SchemaType.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
             ->addField('subscriptionType', new ObjectType([
57 57
                                                               'name'    => '__Subscription',
58 58
                                                               'fields'  => ['name' => ['type' => TypeMap::TYPE_STRING]],
59
-                                                              'resolve' => function () { return []; }
59
+                                                              'resolve' => function() { return []; }
60 60
                                                           ]))
61 61
             ->addField('types', new QueryListType())
62 62
             ->addField('directives', new DirectiveListType());
Please login to merge, or discard this patch.