From c513a657a7734832291a11110dd0facb03444a18 Mon Sep 17 00:00:00 2001 From: Tim Robertson Date: Sat, 5 Aug 2023 01:35:56 -0400 Subject: [PATCH] Updating generator to for PHP81 compatibility --- scripts/appendJsonSerializeCode.txt | 1 + scripts/appendJsonSerializeSubClassCode.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/appendJsonSerializeCode.txt b/scripts/appendJsonSerializeCode.txt index a01f6814..9732ca3d 100755 --- a/scripts/appendJsonSerializeCode.txt +++ b/scripts/appendJsonSerializeCode.txt @@ -1,4 +1,5 @@ // Json Serialize Code + #[\ReturnTypeWillChange] public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/scripts/appendJsonSerializeSubClassCode.txt b/scripts/appendJsonSerializeSubClassCode.txt index 1fa0379a..cc2e6ac7 100644 --- a/scripts/appendJsonSerializeSubClassCode.txt +++ b/scripts/appendJsonSerializeSubClassCode.txt @@ -1,4 +1,5 @@ // Json Serialize Code + #[\ReturnTypeWillChange] public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){