mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-01-30 18:28:40 +00:00
Fixing json serialization and reporter
This commit is contained in:
parent
074d2c82ba
commit
b8bbe54370
|
|
@ -265,11 +265,11 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable
|
|||
|
||||
public function __toString()
|
||||
{
|
||||
return $this->jsonSerialize();
|
||||
return json_encode($this->toArray());
|
||||
}
|
||||
|
||||
public function jsonSerialize()
|
||||
{
|
||||
return json_encode($this->toArray());
|
||||
return $this->toArray();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user