mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-06 15:30:13 +01:00
Improved typing and phpdoc type annotations
This commit is contained in:
@@ -247,9 +247,9 @@ abstract class AbstractLogEntry extends AbstractDBElement
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the timestamp when the event that caused this log entry happened.
|
||||
* Returns the timestamp when the event that caused this log entry happened.
|
||||
*/
|
||||
public function getTimestamp(): \DateTimeInterface
|
||||
public function getTimestamp(): \DateTimeInterface|null
|
||||
{
|
||||
return $this->timestamp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user