mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-15 17:58:41 +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()
|
public function __toString()
|
||||||
{
|
{
|
||||||
return $this->jsonSerialize();
|
return json_encode($this->toArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function jsonSerialize()
|
public function jsonSerialize()
|
||||||
{
|
{
|
||||||
return json_encode($this->toArray());
|
return $this->toArray();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user