From 1f708939002f16c655e6f70eadb41ab23d90e10e Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Thu, 17 Feb 2022 00:22:07 +0100 Subject: [PATCH] Suppress deprecation error on PHP 8.1 --- src/Translations.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Translations.php b/src/Translations.php index ccf84281..c852fca5 100644 --- a/src/Translations.php +++ b/src/Translations.php @@ -215,6 +215,7 @@ public function __clone() * * @return Translation */ + #[\ReturnTypeWillChange] public function offsetSet($index, $value) { if (!($value instanceof Translation)) {