@@ -153,7 +153,7 @@ discard block  | 
                                                    ||
| 153 | 153 | * Get the next character without consuming it or  | 
                                                        
| 154 | 154 | * assigning it to the ch variable.  | 
                                                        
| 155 | 155 | *  | 
                                                        
| 156 | - * @return mixed  | 
                                                        |
| 156 | + * @return string|null  | 
                                                        |
| 157 | 157 | */  | 
                                                        
| 158 | 158 | private function peek()  | 
                                                        
| 159 | 159 |      { | 
                                                        
@@ -588,11 +588,17 @@ discard block  | 
                                                    ||
| 588 | 588 | }  | 
                                                        
| 589 | 589 | }  | 
                                                        
| 590 | 590 | |
| 591 | + /**  | 
                                                        |
| 592 | + * @param string $message  | 
                                                        |
| 593 | + */  | 
                                                        |
| 591 | 594 | private function throwSyntaxError($message)  | 
                                                        
| 592 | 595 |      { | 
                                                        
| 593 | 596 | throw new SyntaxError($message, $this->lineNumber, $this->columnNumber);  | 
                                                        
| 594 | 597 | }  | 
                                                        
| 595 | 598 | |
| 599 | + /**  | 
                                                        |
| 600 | + * @param string|null $chr  | 
                                                        |
| 601 | + */  | 
                                                        |
| 596 | 602 | private static function renderChar($chr)  | 
                                                        
| 597 | 603 |      { | 
                                                        
| 598 | 604 | return $chr === null ? 'EOF' : "'" . $chr . "'";  |