Skip to content

Commit

Permalink
Merge pull request #658 from skipperbent/v5-development
Browse files Browse the repository at this point in the history
InputItem: php8.1 deprecated warning
  • Loading branch information
skipperbent authored Apr 21, 2023
2 parents 847cb3e + 4778a8f commit ad765b9
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 ad765b9

Please sign in to comment.