mirror of
https://github.com/getgrav/grav.git
synced 2026-06-04 17:13:17 +02:00
Fixed Package::jsonSerialize() to return array
This commit is contained in:
@@ -30,6 +30,6 @@ class Package extends BasePackage implements \JsonSerializable
|
||||
*/
|
||||
public function jsonSerialize()
|
||||
{
|
||||
return $this->data;
|
||||
return $this->data->toArray();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user