Skip to content

Commit 4778a8f

Browse files
committed
InputItem: php8.1 deprecated warning-Added returnTypeWillChange to offsetGet
1 parent 2b4ae2b commit 4778a8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Pecee/Http/Input/InputItem.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public function offsetExists($offset): bool
8989
return isset($this->value[$offset]);
9090
}
9191

92+
#[\ReturnTypeWillChange]
9293
public function offsetGet($offset): ?self
9394
{
9495
if ($this->offsetExists($offset) === true) {

0 commit comments

Comments
 (0)