Fixed issue with SimpleRouter::error not firing within group (issue: #551).

- Fixed variable incorrect variable reference in `InputItem` class.
- Added new `Router::addExceptionHandler` method.
- Added parameter types in `Url` class.
- Fixed phpdoc parameter-type for `Request::getHeader`.
This commit is contained in:
Simon Sessingø
2021-05-19 22:00:42 +02:00
parent 0c329e4c5b
commit 4c5f825c97
5 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ class InputItem implements ArrayAccess, IInputItem, IteratorAggregate
public function offsetUnset($offset): void
{
unset($this->data[$offset]);
unset($this->value[$offset]);
}
public function __toString(): string