From d6dffbe58bfde80ea45a57496a2f928d2066d861 Mon Sep 17 00:00:00 2001 From: Caaaaarrrrlll Date: Sun, 18 Jul 2021 01:47:04 -0500 Subject: [PATCH] Add jsonSerialize() and implement JsonSerializable --- src/models/Packet/Form.php | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/models/Packet/Form.php b/src/models/Packet/Form.php index 0a763a3b..bc0fc715 100644 --- a/src/models/Packet/Form.php +++ b/src/models/Packet/Form.php @@ -1,6 +1,6 @@ $this->comments, + 'error' => $this->error, + 'form_fields' => $this->form_fields, + 'packet' => $this->packet, + 'products' => $this->products, + ]; + } }