Improved typing and phpdoc type annotations

This commit is contained in:
Jan Böhmer 2023-06-18 15:37:42 +02:00
parent 3817ba774d
commit b7c8ca2a48
39 changed files with 189 additions and 129 deletions

View file

@ -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;
}