From 8f16cabb49f3d5aa7970af4efcf97e32d19c192b Mon Sep 17 00:00:00 2001 From: Joseph Muto Date: Mon, 6 Mar 2023 13:58:46 -0500 Subject: [PATCH] make entities JsonSerializable --- src/AbstractEntity.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/AbstractEntity.php b/src/AbstractEntity.php index 2828a8b..9e9fc54 100644 --- a/src/AbstractEntity.php +++ b/src/AbstractEntity.php @@ -2,7 +2,9 @@ namespace AllDigitalRewards\NeoCurrency; -abstract class AbstractEntity +use JsonSerializable; + +abstract class AbstractEntity implements JsonSerializable { public function __construct($data = null) {