Merge pull request #658 from skipperbent/v5-development

InputItem: php8.1 deprecated warning
This commit is contained in:
Simon Sessingø
2023-04-21 11:35:24 +02:00
committed by GitHub
+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) {