mirror of
				https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
				synced 2025-11-04 11:07:58 +00: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