@@ -65,8 +65,8 @@ |
||
| 65 | 65 | */ |
| 66 | 66 | private function typeLoader(): \Closure |
| 67 | 67 | { |
| 68 | - return function (string $type, Definition $from = null) { |
|
| 69 | - $this->compile(File::fromPathname($type . '.graphqls')); |
|
| 68 | + return function(string $type, Definition $from = null) { |
|
| 69 | + $this->compile(File::fromPathname($type.'.graphqls')); |
|
| 70 | 70 | }; |
| 71 | 71 | } |
| 72 | 72 | |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | $schema = $this->bind(new SchemaDefinition($this->document, $this->findName())); |
| 27 | 27 | |
| 28 | 28 | foreach ($this->ast as $child) { |
| 29 | - $this->async(function () use ($child, $schema) { |
|
| 29 | + $this->async(function() use ($child, $schema) { |
|
| 30 | 30 | $this->buildField($child, $schema); |
| 31 | 31 | }); |
| 32 | 32 | } |