From 298f7d297fb5b80d9537a5beba42c5c9246333b6 Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Sun, 23 Feb 2025 10:22:58 -0500 Subject: [PATCH] add mixed return type --- src/Contracts/Data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Contracts/Data.php b/src/Contracts/Data.php index 5ed52a79..e0e42ce3 100644 --- a/src/Contracts/Data.php +++ b/src/Contracts/Data.php @@ -29,7 +29,7 @@ public function offsetUnset($offset): void } #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet($offset): mixed { if (isset($this->data[$offset])) { return $this->data[$offset];