Skip to content

Commit d5bf77c

Browse files
authored
Merge pull request #628 from skipperbent/v5-development
Fixed offsetGet return type deprication warning
2 parents 1e9fa9c + e34fe47 commit d5bf77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pecee/Http/Input/InputItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function offsetExists($offset): bool
8181
return isset($this->value[$offset]);
8282
}
8383

84-
public function offsetGet($offset)
84+
public function offsetGet($offset): ?self
8585
{
8686
if ($this->offsetExists($offset) === true) {
8787
return $this->value[$offset];

0 commit comments

Comments
 (0)