Completed
Push — master ( 332a4c...198c54 )
by Kirill
02:13
created
src/Compiler/Processor/Definition/InputUnionProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         /** @var InputUnionDefinition $inputUnion */
30 30
         $inputUnion = $ast->getTypeDefinition();
31 31
 
32
-        $this->immediately(function () use ($ast, $inputUnion) {
32
+        $this->immediately(function() use ($ast, $inputUnion) {
33 33
             $inputUnion->withOffset($ast->getOffset());
34 34
             $inputUnion->withDescription($ast->getDescription());
35 35
         });
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/SchemaProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         /** @var SchemaDefinition $schema */
30 30
         $schema = $ast->getTypeDefinition();
31 31
 
32
-        $this->immediately(function () use ($ast, $schema) {
32
+        $this->immediately(function() use ($ast, $schema) {
33 33
             $schema->withOffset($ast->getOffset());
34 34
             $schema->withDescription($ast->getDescription());
35 35
         });
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/UnionProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         /** @var UnionDefinition $union */
30 30
         $union = $ast->getTypeDefinition();
31 31
 
32
-        $this->immediately(function () use ($ast, $union) {
32
+        $this->immediately(function() use ($ast, $union) {
33 33
             $union->withOffset($ast->getOffset());
34 34
             $union->withDescription($ast->getDescription());
35 35
         });
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/InterfaceProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         /** @var InterfaceDefinition $interface */
30 30
         $interface = $ast->getTypeDefinition();
31 31
 
32
-        $this->immediately(function () use ($ast, $interface) {
32
+        $this->immediately(function() use ($ast, $interface) {
33 33
             $interface->withOffset($ast->getOffset());
34 34
             $interface->withDescription($ast->getDescription());
35 35
         });
Please login to merge, or discard this patch.
src/Compiler/Ast/Value/ConstantValueNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,6 +21,6 @@
 block discarded – undo
21 21
      */
22 22
     public function toPrimitive(): string
23 23
     {
24
-        return (string)$this->getChild(0)->getValue();
24
+        return (string) $this->getChild(0)->getValue();
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
src/Compiler/Ast/Value/StringValueNode.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      */
94 94
     private function renderUtfSequences(string $body): string
95 95
     {
96
-        $callee = function (array $matches): string {
96
+        $callee = function(array $matches): string {
97 97
             [$char, $code] = [$matches[0], $matches[1]];
98 98
 
99 99
             try {
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     {
124 124
         try {
125 125
             if (\function_exists('\\json_decode')) {
126
-                $result = @\json_decode('{"char": "' . $body . '"}')->char;
126
+                $result = @\json_decode('{"char": "'.$body.'"}')->char;
127 127
 
128 128
                 if (\json_last_error() === \JSON_ERROR_NONE) {
129 129
                     $body = $result;
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     private function renderSpecialCharacters(string $body): string
145 145
     {
146
-        $callee = function (array $matches): string {
146
+        $callee = function(array $matches): string {
147 147
             [$char, $code] = [$matches[0], $matches[1]];
148 148
 
149 149
             switch ($code) {
Please login to merge, or discard this patch.