mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-01-19 16:08:40 +00:00
fixed php 8.1 type bugs
This commit is contained in:
parent
88df73ac18
commit
6b5ba93395
|
|
@ -171,7 +171,7 @@ class Report implements \JsonSerializable
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function jsonSerialize()
|
||||
public function jsonSerialize() : mixed
|
||||
{
|
||||
return $this->toArray();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -334,7 +334,7 @@ class Template implements \JsonSerializable
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function jsonSerialize()
|
||||
public function jsonSerialize() : mixed
|
||||
{
|
||||
return $this->toArray();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user