N°8955 - fix Implicitly marking parameter as nullable is deprecated

This commit is contained in:
odain
2026-04-08 14:55:15 +02:00
parent b86226ef7f
commit 8db1e2b604

View File

@@ -37,7 +37,7 @@ class Badge extends UIBlock
private string $sColor;
private string $sTooltip;
public function __construct(string $sLabel, string $sColor = self::DEFAULT_COLOR_SCHEME, string $sTooltip = '', string $sId = null)
public function __construct(string $sLabel, string $sColor = self::DEFAULT_COLOR_SCHEME, string $sTooltip = '', ?string $sId = null)
{
parent::__construct($sId);