fix typehint

This commit is contained in:
Dennis Eichhorn 2020-09-10 20:40:12 +02:00
parent 618e53d44f
commit e464e6122c

View File

@ -159,11 +159,11 @@ class EditorDoc implements \JsonSerializable, ArrayableInterface
/** /**
* Get created at * Get created at
* *
* @return \DateTime * @return \DateTimeImmutable
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getCreatedAt() : \DateTimeInterface public function getCreatedAt() : \DateTimeImmutable
{ {
return $this->createdAt; return $this->createdAt;
} }