mirror of
https://github.com/Karaka-Management/oms-Calendar.git
synced 2026-01-30 00:18:40 +00:00
fix typehint
This commit is contained in:
parent
e5c47427be
commit
920ecd5774
|
|
@ -196,11 +196,11 @@ class Calendar
|
|||
}
|
||||
|
||||
/**
|
||||
* @return \DateTime
|
||||
* @return \DateTimeImmutable
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getCreatedAt() : \DateTimeInterface
|
||||
public function getCreatedAt() : \DateTimeImmutable
|
||||
{
|
||||
return $this->createdAt;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -238,11 +238,11 @@ class Event
|
|||
}
|
||||
|
||||
/**
|
||||
* @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