mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-02-13 13:18: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()
|
public function jsonSerialize()
|
||||||
{
|
{
|
||||||
return json_encode($this->toArray());
|
return $this->toArray();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -311,6 +311,6 @@ class TaskElement implements \JsonSerializable
|
||||||
}
|
}
|
||||||
|
|
||||||
public function jsonSerialize() {
|
public function jsonSerialize() {
|
||||||
return json_encode($this->toArray());
|
return $this->toArray();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user