@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | * Get the next character without consuming it or |
| 145 | 145 | * assigning it to the ch variable. |
| 146 | 146 | * |
| 147 | - * @return mixed |
|
| 147 | + * @return null|string |
|
| 148 | 148 | */ |
| 149 | 149 | private function peek() |
| 150 | 150 | { |
@@ -602,6 +602,9 @@ discard block |
||
| 602 | 602 | } |
| 603 | 603 | } |
| 604 | 604 | |
| 605 | + /** |
|
| 606 | + * @param string $message |
|
| 607 | + */ |
|
| 605 | 608 | private function throwSyntaxError($message) |
| 606 | 609 | { |
| 607 | 610 | throw new SyntaxError($message, $this->at, $this->lineNumber, $this->columnNumber); |