@@ -36,16 +36,16 @@ |
||
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 | } |