@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | // It is a string opening. |
| 204 | 204 | $this->openedStringToken = $type; |
| 205 | 205 | } else { |
| 206 | - if (! $this->currentlyEscaping && $type === $this->openedStringToken) { |
|
| 206 | + if (!$this->currentlyEscaping && $type === $this->openedStringToken) { |
|
| 207 | 207 | // We are in a string, the token is not escaped and is the same as the string opening token. |
| 208 | 208 | // Close the string. |
| 209 | 209 | $this->openedStringToken = null; |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | public function afterConsume(int $type): void |
| 221 | 221 | { |
| 222 | 222 | // Put in escaping mode if it were not escaping and there is a backslash token. |
| 223 | - if (! $this->currentlyEscaping && $type === AnnotationLexer::T_BACKSLASH) { |
|
| 223 | + if (!$this->currentlyEscaping && $type === AnnotationLexer::T_BACKSLASH) { |
|
| 224 | 224 | $this->currentlyEscaping = true; |
| 225 | 225 | } else { |
| 226 | 226 | $this->currentlyEscaping = false; |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | */ |
| 48 | 48 | public function invoke($node, NodeInterface $parent): void |
| 49 | 49 | { |
| 50 | - if (! $node instanceof Doc || ! $parent instanceof DocumentationInterface) { |
|
| 50 | + if (!$node instanceof Doc || !$parent instanceof DocumentationInterface) { |
|
| 51 | 51 | throw new Exception('DocumentationNodeParser is made to parse a documentation node'); |
| 52 | 52 | } |
| 53 | 53 | |