@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | $iterator = new LookaheadIterator($tokens); |
131 | 131 | $rule = $this->sequence($iterator); |
132 | 132 | |
133 | - if ($this->rules->isKeep($name) && ! $rule->hasName()) { |
|
133 | + if ($this->rules->isKeep($name) && !$rule->hasName()) { |
|
134 | 134 | $rule->rename($name); |
135 | 135 | } |
136 | 136 | |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | |
169 | 169 | $continue = $tokens->getNext() && $tokens->getNext()->name() === Lexer::T_OR; |
170 | 170 | |
171 | - if (! $continue) { |
|
171 | + if (!$continue) { |
|
172 | 172 | break; |
173 | 173 | } |
174 | 174 | |
@@ -295,7 +295,7 @@ discard block |
||
295 | 295 | { |
296 | 296 | $name = $token->value(1); |
297 | 297 | |
298 | - if (! $this->tokens->has($name)) { |
|
298 | + if (!$this->tokens->has($name)) { |
|
299 | 299 | $error = \sprintf('Token "%s" is not defined', $name); |
300 | 300 | throw (new GrammarException($error)) |
301 | 301 | ->throwsIn($this->file, $token->offset()); |
@@ -313,7 +313,7 @@ discard block |
||
313 | 313 | { |
314 | 314 | $name = $invocation->value(1); |
315 | 315 | |
316 | - if (! $this->rules->has($name)) { |
|
316 | + if (!$this->rules->has($name)) { |
|
317 | 317 | $error = \sprintf('Rule "%s" is not defined', $name); |
318 | 318 | throw (new GrammarException($error)) |
319 | 319 | ->throwsIn($this->file, $invocation->offset()); |