Skip to content

Commit

Permalink
[FIX] Fixed warning in PHP 8.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maik Kempe committed Feb 17, 2025
1 parent c26bdea commit 14289f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/PageStateMarker.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static function markStatesRecursively(array &$page, int $level): void
self::markStates($page, $level);
}

public static function markStates(array &$page, int $level = null): void
public static function markStates(array &$page, ?int $level = null): void
{
if ($level !== null) {
$page['level'] = $level;
Expand Down

0 comments on commit 14289f5

Please sign in to comment.