Test Failed
Push — master ( 2d53c5...8b1ae1 )
by Kirill
02:39
created
src/Frontend/AST/Value/ConstantValueNode.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 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
 
27 27
     /**
@@ -29,6 +29,6 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function toString(): string
31 31
     {
32
-        return '(const)' . $this->toPrimitive();
32
+        return '(const)'.$this->toPrimitive();
33 33
     }
34 34
 }
Please login to merge, or discard this patch.
src/Frontend/AST/Value/NumberValueNode.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      */
24 24
     public function toString(): string
25 25
     {
26
-        return '(number)' . $this->toPrimitive();
26
+        return '(number)'.$this->toPrimitive();
27 27
     }
28 28
 
29 29
     /**
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
                 return $this->parseInt($value->getValue());
60 60
         }
61 61
 
62
-        return (float)$value->getValue();
62
+        return (float) $value->getValue();
63 63
     }
64 64
 
65 65
     /**
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      */
114 114
     private function parseExponential(string $value): float
115 115
     {
116
-        return (float)$value;
116
+        return (float) $value;
117 117
     }
118 118
 
119 119
     /**
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      */
132 132
     private function parseFloat(string $value): float
133 133
     {
134
-        return (float)$value;
134
+        return (float) $value;
135 135
     }
136 136
 
137 137
     /**
Please login to merge, or discard this patch.