mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +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
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function jsonSerialize()
|
public function jsonSerialize():mixed
|
||||||
{
|
{
|
||||||
return array_map(function ($value) {
|
return array_map(function ($value) {
|
||||||
if ($value instanceof JsonSerializableInterface) {
|
if ($value instanceof JsonSerializableInterface) {
|
||||||
|
@ -148,7 +148,7 @@ class Elements implements ArraySerializableInterface, JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function jsonSerialize()
|
public function jsonSerialize():mixed
|
||||||
{
|
{
|
||||||
return $this->getArrayCopy();
|
return $this->getArrayCopy();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user