mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°8851 - Explicit nullable in functions parameters
This commit is contained in:
@@ -48,7 +48,7 @@ abstract class FormRenderer
|
||||
*
|
||||
* @param \Combodo\iTop\Form\Form $oForm
|
||||
*/
|
||||
public function __construct(Form $oForm = null)
|
||||
public function __construct(?Form $oForm = null)
|
||||
{
|
||||
if ($oForm !== null) {
|
||||
$this->oForm = $oForm;
|
||||
|
||||
Reference in New Issue
Block a user