mirror of
https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
synced 2025-09-10 11:57:12 +02:00
Optimized routing
This commit is contained in:
@@ -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']) {
|
||||
|
Reference in New Issue
Block a user