@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | */ |
26 | 26 | public function __construct(StringStream $stream, int $code = 0, Exception $previous = null) |
27 | 27 | { |
28 | - if($stream->isEnd()) { |
|
28 | + if ($stream->isEnd()) { |
|
29 | 29 | $stream->end(); |
30 | 30 | } |
31 | 31 | |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | do { |
84 | 84 | $string .= $stream->current(); |
85 | 85 | $stream->next(); |
86 | - } while (! $stream->isEnd()); |
|
86 | + } while (!$stream->isEnd()); |
|
87 | 87 | |
88 | 88 | return $string; |
89 | 89 | } |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | { |
33 | 33 | $tokens = []; |
34 | 34 | |
35 | - if(! empty($plainData)) { |
|
35 | + if (!empty($plainData)) { |
|
36 | 36 | $tokens = (new self($plainData))->tokenizeInternal()->tokens; |
37 | 37 | } |
38 | 38 | |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | start: |
220 | 220 | $this->stream->ignoreWhitespace(); |
221 | 221 | |
222 | - if($this->stream->isEnd()) { |
|
222 | + if ($this->stream->isEnd()) { |
|
223 | 223 | throw new SyntaxErrorException($this->stream); |
224 | 224 | } |
225 | 225 | |
@@ -290,7 +290,7 @@ discard block |
||
290 | 290 | start: |
291 | 291 | $char = $this->stream->currentAscii(); |
292 | 292 | |
293 | - if($this->stream->isEnd()) { |
|
293 | + if ($this->stream->isEnd()) { |
|
294 | 294 | throw new SyntaxErrorException($this->stream); |
295 | 295 | } |
296 | 296 |