From 5c91952bde97a56ca53b4ae41ab336f00c261521 Mon Sep 17 00:00:00 2001 From: Chris Deeming Date: Mon, 22 Nov 2021 15:42:17 +0000 Subject: [PATCH] Add #[\ReturnTypeWillChange] attribute for PHP 8.x compatibility. (#339) * Add #[\ReturnTypeWillChange] attribute for PHP 8.1 compatibility. * Update tab to space. --- src/MessageSentReport.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MessageSentReport.php b/src/MessageSentReport.php index c569952c..9770df9b 100644 --- a/src/MessageSentReport.php +++ b/src/MessageSentReport.php @@ -168,6 +168,7 @@ public function getResponseContent(): ?string /** * @return array|mixed */ + #[\ReturnTypeWillChange] public function jsonSerialize() { return [