mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-17 07:58:41 +00:00
fixed php 8.1 type bugs
This commit is contained in:
parent
5d9decf28b
commit
cdc2b83cc3
|
|
@ -58,7 +58,7 @@ class Address extends Location
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function jsonSerialize()
|
||||
public function jsonSerialize() : mixed
|
||||
{
|
||||
return $this->toArray();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ class Module
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function jsonSerialize()
|
||||
public function jsonSerialize() : mixed
|
||||
{
|
||||
return $this->toArray();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user