Bugfixes and optimisations.

- Fix for __invoke methods (issue: #429)
- Fixed not being able to parse body of PUT request.
- BaseCsrfVerifier expects the field name to be "csrf-token" (issue: #432)
- Minor optimisations
This commit is contained in:
Simon Sessingø
2018-11-25 00:44:20 +01:00
parent 4a8b71a0b5
commit d601e8eca3
6 changed files with 171 additions and 208 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ class Router
$this->routeStack = [];
/* Route any routes added to the stack */
$this->processRoutes($stack, $route);
$this->processRoutes($stack, ($route instanceof IGroupRoute) ? $route : null);
}
}