mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user