mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 01:58:47 +02:00
N°8851 - Explicit nullable in functions parameters
This commit is contained in:
@@ -44,7 +44,7 @@ abstract class MultipleChoicesField extends AbstractSimpleField
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function __construct(string $sId, Closure $onFinalizeCallback = null)
|
||||
public function __construct(string $sId, ?Closure $onFinalizeCallback = null)
|
||||
{
|
||||
parent::__construct($sId, $onFinalizeCallback);
|
||||
$this->bMultipleValuesEnabled = static::DEFAULT_MULTIPLE_VALUES_ENABLED;
|
||||
|
||||
Reference in New Issue
Block a user