mirror of
https://github.com/Karaka-Management/oms-Draw.git
synced 2026-01-29 22:38:42 +00:00
Fixing json serialization and reporter
This commit is contained in:
parent
1d8f4fe292
commit
1823c98f30
|
|
@ -136,12 +136,12 @@ class DrawImage 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();
|
||||
}
|
||||
|
||||
public static function fromMedia(Media $media)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user