Optimized routing

This commit is contained in:
Kevin Frantz
2018-07-14 19:07:23 +02:00
parent d966cbc35d
commit 5c5eb64fd8
4 changed files with 36 additions and 10 deletions

View File

@@ -35,7 +35,7 @@ final class Router implements RouterInterface
* {@inheritdoc}
* @see \router\RouterInterface::route()
*/
public function route(): void
public function route()
{
if ($this->get) {
switch ($this->get['controller']) {