mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-12 08:28:39 +00:00
Fix json_encode return type
This commit is contained in:
parent
2755f5c8b1
commit
c680dde7d3
|
|
@ -235,7 +235,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable
|
||||||
|
|
||||||
public function __toString()
|
public function __toString()
|
||||||
{
|
{
|
||||||
return \json_encode($this->toArray());
|
return (string) \json_encode($this->toArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function jsonSerialize()
|
public function jsonSerialize()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user