fix typehint

This commit is contained in:
Dennis Eichhorn 2020-09-10 20:40:12 +02:00
parent b17f7a1ce7
commit 285c2dba36

View File

@ -307,11 +307,11 @@ class Comment
/**
* Get created at date time
*
* @return \DateTime
* @return \DateTimeImmutable
*
* @since 1.0.0
*/
public function getCreatedAt() : \DateTimeInterface
public function getCreatedAt() : \DateTimeImmutable
{
return $this->createdAt;
}