mirror of
https://github.com/Karaka-Management/oms-QA.git
synced 2026-01-28 15:28:42 +00:00
fix typehint
This commit is contained in:
parent
803d31cd56
commit
f8d293b5cd
|
|
@ -242,11 +242,11 @@ class QAAnswer implements \JsonSerializable
|
|||
/**
|
||||
* Get created at
|
||||
*
|
||||
* @return \DateTime
|
||||
* @return \DateTimeImmutable
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getCreatedAt() : \DateTimeInterface
|
||||
public function getCreatedAt() : \DateTimeImmutable
|
||||
{
|
||||
return $this->createdAt;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -320,11 +320,11 @@ class QAQuestion implements \JsonSerializable
|
|||
/**
|
||||
* Get created at date time
|
||||
*
|
||||
* @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