@@ -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 | { |
@@ -610,6 +610,9 @@ discard block |
||
| 610 | 610 | } |
| 611 | 611 | } |
| 612 | 612 | |
| 613 | + /** |
|
| 614 | + * @param string $message |
|
| 615 | + */ |
|
| 613 | 616 | private function throwSyntaxError($message) |
| 614 | 617 | { |
| 615 | 618 | throw new SyntaxError($message, $this->lineNumber, $this->columnNumber); |