fix typehint

This commit is contained in:
Dennis Eichhorn 2020-09-10 20:40:12 +02:00
parent 0c7cd4b132
commit 4c03c1ee55

View File

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