mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 10:08:45 +02:00
N°8851 - Explicit nullable in functions parameters (#857)
This commit is contained in:
@@ -28,7 +28,7 @@ class FormInput extends AbstractFormIO
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function IsEventDataReady(string $sEventType = null): bool
|
||||
public function IsEventDataReady(?string $sEventType = null): bool
|
||||
{
|
||||
return $this->HasEventValue($sEventType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user