mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 00:28:47 +02:00
N°8955 - fix Implicitly marking parameter as nullable is deprecated
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user