Skip to content

Commit 05a7a4a

Browse files
committed
up: fix some error for run in php8.4
1 parent 12fb003 commit 05a7a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Util/Highlighter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ private function colorLines(array $tokenLines): array
356356
*
357357
* @return string
358358
*/
359-
private function lineNumbers(array $lines, int $markLine = null): string
359+
private function lineNumbers(array $lines, ?int $markLine = null): string
360360
{
361361
$snippet = '';
362362
$lineLen = count($lines) + 1;

0 commit comments

Comments
 (0)