Skip to content

Commit 14289f5

Browse files
author
Maik Kempe
committed
[FIX] Fixed warning in PHP 8.4.
1 parent c26bdea commit 14289f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/PageStateMarker.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static function markStatesRecursively(array &$page, int $level): void
2727
self::markStates($page, $level);
2828
}
2929

30-
public static function markStates(array &$page, int $level = null): void
30+
public static function markStates(array &$page, ?int $level = null): void
3131
{
3232
if ($level !== null) {
3333
$page['level'] = $level;

0 commit comments

Comments
 (0)