mirror of
https://github.com/Karaka-Management/oms-News.git
synced 2026-02-18 09:28:41 +00:00
fix typehint
This commit is contained in:
parent
a2923fa173
commit
cefb6595e9
|
|
@ -228,11 +228,11 @@ class NewsArticle implements \JsonSerializable, ArrayableInterface
|
|||
/**
|
||||
* Get date of creation
|
||||
*
|
||||
* @return \DateTime
|
||||
* @return \DateTimeImmutable
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getCreatedAt() : \DateTimeInterface
|
||||
public function getCreatedAt() : \DateTimeImmutable
|
||||
{
|
||||
return $this->createdAt;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user