@@ -21,7 +21,7 @@ discard block |
||
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 |
||
29 | 29 | */ |
30 | 30 | public function toString(): string |
31 | 31 | { |
32 | - return '(const)' . $this->toPrimitive(); |
|
32 | + return '(const)'.$this->toPrimitive(); |
|
33 | 33 | } |
34 | 34 | } |
@@ -23,7 +23,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 | /** |