mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
#12460 fixed deprecated in library phpchartjs
This commit is contained in:
parent
bb2d908de7
commit
209b4b3e8b
@ -15,7 +15,7 @@ trait JsonSerializable
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function jsonSerialize()
|
||||
public function jsonSerialize():mixed
|
||||
{
|
||||
return array_map(function ($value) {
|
||||
if ($value instanceof JsonSerializableInterface) {
|
||||
|
@ -148,7 +148,7 @@ class Elements implements ArraySerializableInterface, JsonSerializable
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function jsonSerialize()
|
||||
public function jsonSerialize():mixed
|
||||
{
|
||||
return $this->getArrayCopy();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user