mirror of
https://github.com/getgrav/grav.git
synced 2026-02-19 04:58:21 +01: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