mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 12:08:47 +02:00
N°8851 - Explicit nullable in functions parameters
This commit is contained in:
@@ -62,7 +62,7 @@ class CaseLogEntryForm extends UIContentBlock
|
||||
* @param \DBObject $oObject
|
||||
* @param string|null $sId
|
||||
*/
|
||||
public function __construct(DBObject $oObject, string $sAttCode, string $sId = null)
|
||||
public function __construct(DBObject $oObject, string $sAttCode, ?string $sId = null)
|
||||
{
|
||||
parent::__construct($sId);
|
||||
$this->oObject = $oObject;
|
||||
|
||||
Reference in New Issue
Block a user