fix typehint

This commit is contained in:
Dennis Eichhorn 2020-09-10 20:40:12 +02:00
parent b72a082cc2
commit 6186f8a950

View File

@ -507,11 +507,11 @@ class Event
/** /**
* 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;
} }