mirror of
https://github.com/Karaka-Management/oms-Calendar.git
synced 2026-02-09 04:58:41 +00:00
fixed php 8.1 type bugs
This commit is contained in:
parent
351cfcbc03
commit
83c2148a55
|
|
@ -210,7 +210,7 @@ class Calendar
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function jsonSerialize()
|
||||
public function jsonSerialize() : mixed
|
||||
{
|
||||
return $this->toArray();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -373,7 +373,7 @@ class Event
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function jsonSerialize()
|
||||
public function jsonSerialize() : mixed
|
||||
{
|
||||
return $this->toArray();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -318,7 +318,7 @@ class Schedule
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function jsonSerialize()
|
||||
public function jsonSerialize() : mixed
|
||||
{
|
||||
return $this->toArray();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user