Completed
Push — master ( 332a4c...198c54 )
by Kirill
02:13
created
src/Compiler/Processor/Definition/DirectiveProcessor.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 DirectiveDefinition $directive */
30 30
         $directive = $ast->getTypeDefinition();
31 31
 
32
-        $this->immediately(function () use ($ast, $directive) {
32
+        $this->immediately(function() use ($ast, $directive) {
33 33
             $directive->withOffset($ast->getOffset());
34 34
             $directive->withDescription($ast->getDescription());
35 35
         });
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/ScalarProcessor.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 ScalarDefinition $scalar */
30 30
         $scalar = $ast->getTypeDefinition();
31 31
 
32
-        $this->immediately(function () use ($ast, $scalar) {
32
+        $this->immediately(function() use ($ast, $scalar) {
33 33
             $scalar->withOffset($ast->getOffset());
34 34
             $scalar->withDescription($ast->getDescription());
35 35
         });
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/ObjectProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         /** @var ObjectDefinition $object */
31 31
         $object = $ast->getTypeDefinition();
32 32
 
33
-        $this->immediately(function () use ($ast, $object) {
33
+        $this->immediately(function() use ($ast, $object) {
34 34
             $object->withOffset($ast->getOffset());
35 35
             $object->withDescription($ast->getDescription());
36 36
         });
Please login to merge, or discard this patch.
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/NumberValueNode.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
                 return $this->parseInt($value->getValue());
53 53
         }
54 54
 
55
-        return (float)$value->getValue();
55
+        return (float) $value->getValue();
56 56
     }
57 57
 
58 58
     /**
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     private function parseExponential(string $value): float
81 81
     {
82
-        return (float)$value;
82
+        return (float) $value;
83 83
     }
84 84
 
85 85
     /**
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      */
89 89
     private function parseFloat(string $value): float
90 90
     {
91
-        return (float)$value;
91
+        return (float) $value;
92 92
     }
93 93
 
94 94
     /**
Please login to merge, or discard this patch.