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){