N°4192 Fix error on Contract classes object details

Was crashing on all classes without state attribute, or with state attribute nullable
This commit is contained in:
Pierre Goiffon
2021-07-22 11:06:59 +02:00
parent 93d0e4ae7c
commit 29ca291860

View File

@@ -159,9 +159,9 @@ class ObjectDetails extends Panel implements iKeyboardShortcut
/**
* @see self::$sStatusCode
* @return string
* @return string|null
*/
public function GetStatusCode(): string
public function GetStatusCode(): ?string
{
return $this->sStatusCode;
}