fix typehint

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

View File

@ -73,11 +73,11 @@ class Group extends \phpOMS\Account\Group
/**
* Get created at.
*
* @return \DateTime
* @return \DateTimeImmutable
*
* @since 1.0.0
*/
public function getCreatedAt() : \DateTimeInterface
public function getCreatedAt() : \DateTimeImmutable
{
return $this->createdAt;
}

View File

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