mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-22 06:18:41 +00:00
fix typehint
This commit is contained in:
parent
bea2d1ed0b
commit
4c1384f64b
|
|
@ -435,11 +435,11 @@ class Account implements \JsonSerializable, ArrayableInterface
|
|||
/**
|
||||
* Get created at.
|
||||
*
|
||||
* @return \DateTimeInterface
|
||||
* @return \DateTimeImmutable
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getCreatedAt() : \DateTimeInterface
|
||||
public function getCreatedAt() : \DateTimeImmutable
|
||||
{
|
||||
return $this->createdAt;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -124,11 +124,11 @@ interface ContainerInterface
|
|||
/**
|
||||
* Get the datetime when the resource got created.
|
||||
*
|
||||
* @return \DateTime
|
||||
* @return \DateTimeImmutable
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getCreatedAt() : \DateTimeInterface;
|
||||
public function getCreatedAt() : \DateTimeImmutable;
|
||||
|
||||
/**
|
||||
* Get the datetime when the resource got last modified.
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ abstract class FileAbstract implements ContainerInterface
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getCreatedAt() : \DateTimeInterface
|
||||
public function getCreatedAt() : \DateTimeImmutable
|
||||
{
|
||||
return $this->createdAt;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ abstract class FileAbstract implements ContainerInterface
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getCreatedAt() : \DateTimeInterface
|
||||
public function getCreatedAt() : \DateTimeImmutable
|
||||
{
|
||||
return $this->createdAt;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user