Skip to content

Commit e34fe47

Browse files
committed
Fixed offsetGet return type deprication warning
1 parent f0a4b6e commit e34fe47

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)