mirror of
https://github.com/Karaka-Management/oms-Draw.git
synced 2026-01-27 21:38:40 +00:00
Fix json_encode return type
This commit is contained in:
parent
d224732566
commit
4c173b9210
|
|
@ -124,7 +124,7 @@ class DrawImage 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