@@ -71,7 +71,7 @@ |
||
| 71 | 71 | $lexer = new NativeStateless(); |
| 72 | 72 | |
| 73 | 73 | foreach ($this->tokens->all() as $name => $pcre) { |
| 74 | - $lexer->add($name, $pcre, ! $this->tokens->isKeep($name)); |
|
| 74 | + $lexer->add($name, $pcre, !$this->tokens->isKeep($name)); |
|
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | return $lexer; |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | return $this->lastId++; |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | - if (! $this->has($rule)) { |
|
| 37 | + if (!$this->has($rule)) { |
|
| 38 | 38 | $this->mappings[$rule] = $this->lastId++; |
| 39 | 39 | } |
| 40 | 40 | |
@@ -149,7 +149,7 @@ |
||
| 149 | 149 | */ |
| 150 | 150 | public function group(LookaheadIterator $iterator, string $rule = null): Group |
| 151 | 151 | { |
| 152 | - if ($rule && ! \in_array($rule, $this->keep, true)) { |
|
| 152 | + if ($rule && !\in_array($rule, $this->keep, true)) { |
|
| 153 | 153 | $rule = null; |
| 154 | 154 | } |
| 155 | 155 | |