mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-09 17:38:40 +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}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function jsonSerialize()
|
public function jsonSerialize() : mixed
|
||||||
{
|
{
|
||||||
return $this->toArray();
|
return $this->toArray();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,7 @@ class Module
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function jsonSerialize()
|
public function jsonSerialize() : mixed
|
||||||
{
|
{
|
||||||
return $this->toArray();
|
return $this->toArray();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user