fix typehint

This commit is contained in:
Dennis Eichhorn 2020-09-10 20:40:12 +02:00
parent e5c47427be
commit 920ecd5774
2 changed files with 4 additions and 4 deletions

View File

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

View File

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