@@ -48,7 +48,7 @@ |
||
48 | 48 | $routes = $this->config->toArray(); |
49 | 49 | |
50 | 50 | $this->adapter = \FastRoute\simpleDispatcher( |
51 | - function (RouteCollector $routeCollector) use ($routes) { |
|
51 | + function(RouteCollector $routeCollector) use ($routes) { |
|
52 | 52 | foreach ($routes as $route) { |
53 | 53 | $method = $route['allowed_methods']; |
54 | 54 | $uri = $route['path']; |
@@ -59,7 +59,7 @@ |
||
59 | 59 | $this->adapter->addExtension(new Twig_Extension_Debug()); |
60 | 60 | |
61 | 61 | $viewPath = $this->templateViewPath; |
62 | - $function = new Twig_SimpleFunction('defined', function ($fileName) use ($viewPath) { |
|
62 | + $function = new Twig_SimpleFunction('defined', function($fileName) use ($viewPath) { |
|
63 | 63 | $fileName = str_replace('@Theme', $viewPath, $fileName); |
64 | 64 | return file_exists($fileName); |
65 | 65 | }); |