mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-28 21:18:46 +02:00
N°8851 - Explicit nullable in functions parameters
This commit is contained in:
@@ -34,7 +34,7 @@ class SubFormField extends Field
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function __construct(string $sId, Closure $onFinalizeCallback = null)
|
||||
public function __construct(string $sId, ?Closure $onFinalizeCallback = null)
|
||||
{
|
||||
$this->oForm = new Form('subform_'.$sId);
|
||||
parent::__construct($sId, $onFinalizeCallback);
|
||||
|
||||
Reference in New Issue
Block a user