mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-02-06 04:58:40 +00:00
fix typehint
This commit is contained in:
parent
37640e8edf
commit
f6e2883ff5
|
|
@ -75,11 +75,11 @@ final class GSDCostCenter implements \JsonSerializable
|
|||
}
|
||||
|
||||
/**
|
||||
* @return \DateTime
|
||||
* @return \DateTimeImmutable
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getCreatedAt() : \DateTimeInterface
|
||||
public function getCreatedAt() : \DateTimeImmutable
|
||||
{
|
||||
return $this->createdAt ?? new \DateTime();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -75,11 +75,11 @@ final class GSDCostObject implements \JsonSerializable
|
|||
}
|
||||
|
||||
/**
|
||||
* @return \DateTime
|
||||
* @return \DateTimeImmutable
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getCreatedAt() : \DateTimeInterface
|
||||
public function getCreatedAt() : \DateTimeImmutable
|
||||
{
|
||||
return $this->createdAt ?? new \DateTime();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -167,11 +167,11 @@ class ExchangeLog implements \JsonSerializable, ArrayableInterface
|
|||
/**
|
||||
* Get created at.
|
||||
*
|
||||
* @return array
|
||||
* @return DateTimeImmutable
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getCreatedAt() : \DateTimeInterfaceInterface
|
||||
public function getCreatedAt() : \DateTimeImmutable
|
||||
{
|
||||
return $this->createdAt;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user