mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 17:48:43 +02:00
N°8851 - Explicit nullable in functions parameters
This commit is contained in:
@@ -57,7 +57,7 @@ class Field extends UIContentBlock
|
||||
/** @var string */
|
||||
protected $sComments;
|
||||
|
||||
public function __construct(string $sLabel, UIBlock $oValue = null, ?string $sId = null)
|
||||
public function __construct(string $sLabel, ?UIBlock $oValue = null, ?string $sId = null)
|
||||
{
|
||||
parent::__construct($sId);
|
||||
$this->sLabel = $sLabel;
|
||||
|
||||
Reference in New Issue
Block a user