mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 14:38:39 +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.
|
* Get created at.
|
||||||
*
|
*
|
||||||
* @return \DateTimeInterface
|
* @return \DateTimeImmutable
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public function getCreatedAt() : \DateTimeInterface
|
public function getCreatedAt() : \DateTimeImmutable
|
||||||
{
|
{
|
||||||
return $this->createdAt;
|
return $this->createdAt;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -124,11 +124,11 @@ interface ContainerInterface
|
||||||
/**
|
/**
|
||||||
* Get the datetime when the resource got created.
|
* Get the datetime when the resource got created.
|
||||||
*
|
*
|
||||||
* @return \DateTime
|
* @return \DateTimeImmutable
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public function getCreatedAt() : \DateTimeInterface;
|
public function getCreatedAt() : \DateTimeImmutable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the datetime when the resource got last modified.
|
* Get the datetime when the resource got last modified.
|
||||||
|
|
|
||||||
|
|
@ -151,7 +151,7 @@ abstract class FileAbstract implements ContainerInterface
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function getCreatedAt() : \DateTimeInterface
|
public function getCreatedAt() : \DateTimeImmutable
|
||||||
{
|
{
|
||||||
return $this->createdAt;
|
return $this->createdAt;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -151,7 +151,7 @@ abstract class FileAbstract implements ContainerInterface
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function getCreatedAt() : \DateTimeInterface
|
public function getCreatedAt() : \DateTimeImmutable
|
||||||
{
|
{
|
||||||
return $this->createdAt;
|
return $this->createdAt;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user