Skip to content

Commit

Permalink
InputItem: php8.1 deprecated warning-Added returnTypeWillChange to of…
Browse files Browse the repository at this point in the history
…fsetGet
  • Loading branch information
skipperbent committed Apr 21, 2023
1 parent 2b4ae2b commit 4778a8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Pecee/Http/Input/InputItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public function offsetExists($offset): bool
return isset($this->value[$offset]);
}

#[\ReturnTypeWillChange]
public function offsetGet($offset): ?self
{
if ($this->offsetExists($offset) === true) {
Expand Down

0 comments on commit 4778a8f

Please sign in to comment.