InputItem: php8.1 deprecated warning-Added returnTypeWillChange to offsetGet

This commit is contained in:
sessingo
2023-04-21 11:28:19 +02:00
parent 2b4ae2b211
commit 4778a8f29e
+1
View File
@@ -89,6 +89,7 @@ class InputItem implements ArrayAccess, IInputItem, IteratorAggregate
return isset($this->value[$offset]); return isset($this->value[$offset]);
} }
#[\ReturnTypeWillChange]
public function offsetGet($offset): ?self public function offsetGet($offset): ?self
{ {
if ($this->offsetExists($offset) === true) { if ($this->offsetExists($offset) === true) {