mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 02:38:50 +02:00
Fixed exception on log view. Added availability test for log view.
This commit is contained in:
parent
fe0738a074
commit
9f5a4ddf95
2 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue