Skip to content
Snippets Groups Projects
Unverified Commit 940e5bef authored by Christoph Wurst's avatar Christoph Wurst
Browse files

Use JsonSerializable::jsonSerialize instead of a custom method


IAccount extends php's JsonSerialize interface which already comes
with a proper method that seralizes an object into an array. Hence
we shall use this method instead of duplicating and throwing an
exception in the implementation.

Signed-off-by: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
parent 4a276d54
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment