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 ad0234a94f
commit bd14a84677

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);