mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
Handle invalid type asignment
This commit is contained in:
parent
d494da3d3b
commit
fce9ad82ba
|
|
@ -605,7 +605,7 @@ class Account implements ArrayableInterface, \JsonSerializable
|
|||
*/
|
||||
public function __toString() : string
|
||||
{
|
||||
return \json_encode($this->toArray());
|
||||
return (string) \json_encode($this->toArray());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user