fix typehint

This commit is contained in:
Dennis Eichhorn 2020-09-10 20:40:12 +02:00
parent 90da5c09aa
commit a7bbc2b672

View File

@ -311,11 +311,11 @@ class Media implements \JsonSerializable
} }
/** /**
* @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;
} }