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