mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-14 11:38:40 +00:00
Fix json_encode return type
This commit is contained in:
parent
563c9ac5af
commit
a41c384409
|
|
@ -189,7 +189,7 @@ class Module
|
||||||
*/
|
*/
|
||||||
public function __toString()
|
public function __toString()
|
||||||
{
|
{
|
||||||
return \json_encode($this->toArray());
|
return (string) \json_encode($this->toArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user