| @@ -1,5 +1,6 @@ | ||
| 1 | 1 | <?php |
| 2 | +// phpcs:ignoreFile -- Bundled third-party (Mozart) dependency; exempt from plugin coding standards. | |
| 2 | 3 | |
| 3 | 4 | namespace WPDeveloper\BetterDocs\Dependencies\PhpParser; |
| 4 | 5 | |
| 5 | 6 | use WPDeveloper\BetterDocs\Dependencies\PhpParser\Parser\Tokens; |
| @@ -54,9 +55,9 @@ | ||
| 54 | 55 | * @param string $code The source code to lex |
| 55 | 56 | * @param ErrorHandler|null $errorHandler Error handler to use for lexing errors. Defaults to |
| 56 | 57 | * ErrorHandler\Throwing |
| 57 | 58 | */ |
| 58 | - public function startLexing($code, ErrorHandler $errorHandler = null) { | |
| 59 | + public function startLexing($code, ?ErrorHandler $errorHandler = null) { | |
| 59 | 60 | if (null === $errorHandler) { |
| 60 | 61 | $errorHandler = new ErrorHandler\Throwing(); |
| 61 | 62 | } |
| 62 | 63 | |