mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
N°8851 - Explicit nullable in functions parameters
This commit is contained in:
@@ -29,7 +29,7 @@ class DashletPlainText extends DashletContainer
|
||||
*
|
||||
* @param string $sText
|
||||
*/
|
||||
public function __construct(string $sText, string $sId = null)
|
||||
public function __construct(string $sText, ?string $sId = null)
|
||||
{
|
||||
parent::__construct($sId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user