mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-01-11 15:38:40 +00:00
Fixing json serialization and reporter
This commit is contained in:
parent
4a2cc303d3
commit
3f621643f6
|
|
@ -441,6 +441,6 @@ class Task implements \JsonSerializable
|
|||
*/
|
||||
public function jsonSerialize()
|
||||
{
|
||||
return json_encode($this->toArray());
|
||||
return $this->toArray();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -311,6 +311,6 @@ class TaskElement implements \JsonSerializable
|
|||
}
|
||||
|
||||
public function jsonSerialize() {
|
||||
return json_encode($this->toArray());
|
||||
return $this->toArray();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user