@@ -20,7 +20,7 @@ |
||
20 | 20 | $type = $this->printNode($node->getType()); |
21 | 21 | $defaultValue = $this->printNode($node->getDefaultValue()); |
22 | 22 | |
23 | - return $variable.': '.$type.wrap(' = ', $defaultValue); |
|
23 | + return $variable . ': ' . $type . wrap(' = ', $defaultValue); |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | /** |
@@ -19,7 +19,7 @@ |
||
19 | 19 | $name = $this->printNode($node->getName()); |
20 | 20 | $arguments = $this->printNodes($node->getArguments()); |
21 | 21 | |
22 | - return '@'.$name.wrap('(', implode(', ', $arguments), ')'); |
|
22 | + return '@' . $name . wrap('(', implode(', ', $arguments), ')'); |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | /** |
@@ -28,7 +28,7 @@ |
||
28 | 28 | ? $selectionSet |
29 | 29 | : implode(' ', [ |
30 | 30 | $operation, |
31 | - $name.wrap('(', implode(', ', $variablesDefinitions), ')'), |
|
31 | + $name . wrap('(', implode(', ', $variablesDefinitions), ')'), |
|
32 | 32 | implode(' ', $directives), |
33 | 33 | $selectionSet, |
34 | 34 | ]); |
@@ -15,7 +15,7 @@ |
||
15 | 15 | */ |
16 | 16 | public function write(NodeInterface $node): string |
17 | 17 | { |
18 | - return $this->printNode($node->getType()).'!'; |
|
18 | + return $this->printNode($node->getType()) . '!'; |
|
19 | 19 | } |
20 | 20 | |
21 | 21 | /** |
@@ -18,7 +18,7 @@ |
||
18 | 18 | $name = $this->printNode($node->getName()); |
19 | 19 | $value = $this->printNode($node->getValue()); |
20 | 20 | |
21 | - return $name.': '.$value; |
|
21 | + return $name . ': ' . $value; |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | /** |
@@ -15,7 +15,7 @@ |
||
15 | 15 | */ |
16 | 16 | public function write(NodeInterface $node): string |
17 | 17 | { |
18 | - return '$'.$node->getName(); |
|
18 | + return '$' . $node->getName(); |
|
19 | 19 | } |
20 | 20 | |
21 | 21 | /** |
@@ -15,7 +15,7 @@ |
||
15 | 15 | */ |
16 | 16 | public function write(NodeInterface $node): string |
17 | 17 | { |
18 | - return implode("\n\n", $node->getDefinitions())."\n"; |
|
18 | + return implode("\n\n", $node->getDefinitions()) . "\n"; |
|
19 | 19 | } |
20 | 20 | |
21 | 21 | /** |
@@ -19,7 +19,7 @@ |
||
19 | 19 | $name = $this->printNode($node->getName()); |
20 | 20 | $directives = $this->printNodes($node->getDirectives()); |
21 | 21 | |
22 | - return '...'.$name.wrap(' ', implode(' ', $directives)); |
|
22 | + return '...' . $name . wrap(' ', implode(' ', $directives)); |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | /** |
@@ -23,7 +23,7 @@ |
||
23 | 23 | $selectionSet = $this->printNode($node->getSelectionSet()); |
24 | 24 | |
25 | 25 | return implode(' ', [ |
26 | - wrap('', $alias, ': ').$name.wrap('(', implode(', ', $arguments), |
|
26 | + wrap('', $alias, ': ') . $name . wrap('(', implode(', ', $arguments), |
|
27 | 27 | ')'), |
28 | 28 | implode(' ', $directives), |
29 | 29 | $selectionSet, |