mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 16:57:53 +00:00
Merge pull request #628 from skipperbent/v5-development
Fixed offsetGet return type deprication warning
This commit is contained in:
@@ -81,7 +81,7 @@ class InputItem implements ArrayAccess, IInputItem, IteratorAggregate
|
|||||||
return isset($this->value[$offset]);
|
return isset($this->value[$offset]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function offsetGet($offset)
|
public function offsetGet($offset): ?self
|
||||||
{
|
{
|
||||||
if ($this->offsetExists($offset) === true) {
|
if ($this->offsetExists($offset) === true) {
|
||||||
return $this->value[$offset];
|
return $this->value[$offset];
|
||||||
|
|||||||
Reference in New Issue
Block a user