mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-14 11:38:40 +00:00
fix typehint
This commit is contained in:
parent
a38d24e837
commit
91762b07d6
|
|
@ -73,11 +73,11 @@ class Group extends \phpOMS\Account\Group
|
||||||
/**
|
/**
|
||||||
* Get created at.
|
* Get created at.
|
||||||
*
|
*
|
||||||
* @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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -92,11 +92,11 @@ class Module
|
||||||
/**
|
/**
|
||||||
* Get created at.
|
* Get created at.
|
||||||
*
|
*
|
||||||
* @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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user