From bec0c3da56f2468c19925154dc5538622aa4df89 Mon Sep 17 00:00:00 2001 From: Paul Groeneweg Date: Thu, 19 May 2022 17:26:16 +0200 Subject: [PATCH] Provide return type attribute to handle php-8.1 exception. Did not :mixed as return type to remain compatible with php 7.2 ( composer.json ) --- src/Picqer/Financials/Exact/Model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Picqer/Financials/Exact/Model.php b/src/Picqer/Financials/Exact/Model.php index 0ebe3cf1..bebad1de 100644 --- a/src/Picqer/Financials/Exact/Model.php +++ b/src/Picqer/Financials/Exact/Model.php @@ -271,6 +271,7 @@ public function json($options = 0, $withDeferred = false) * * @return array */ + #[\ReturnTypeWillChange] public function jsonSerialize() { return $this->attributes;