Fixed exception on log view. Added availability test for log view.

This commit is contained in:
Jan Böhmer 2020-02-02 19:58:55 +01:00
parent fe0738a074
commit 9f5a4ddf95
2 changed files with 4 additions and 2 deletions

View file

@ -36,9 +36,9 @@ class ElementCreatedLogEntry extends AbstractLogEntry
/**
* Gets the instock when the part was created.
*
* @return int|null
* @return string|null
*/
public function getCreationInstockValue(): ?int
public function getCreationInstockValue(): ?string
{
return $this->extra['i'] ?? null;
}