fix typehint

This commit is contained in:
Dennis Eichhorn 2020-09-10 20:40:12 +02:00
parent a2923fa173
commit cefb6595e9

View File

@ -228,11 +228,11 @@ class NewsArticle implements \JsonSerializable, ArrayableInterface
/**
* Get date of creation
*
* @return \DateTime
* @return \DateTimeImmutable
*
* @since 1.0.0
*/
public function getCreatedAt() : \DateTimeInterface
public function getCreatedAt() : \DateTimeImmutable
{
return $this->createdAt;
}