@@ -201,7 +201,7 @@ discard block |
||
| 201 | 201 | |
| 202 | 202 | #KPHMOD FIX FOR NETBEANS INVOKATION |
| 203 | 203 | if ($uri == '/') { |
| 204 | - $uri = '/' . ltrim($request->getParam('path') , '/'); |
|
| 204 | + $uri = '/' . ltrim($request->getParam('path'), '/'); |
|
| 205 | 205 | } |
| 206 | 206 | |
| 207 | 207 | return $this->createDispatcher()->dispatch( |
@@ -238,7 +238,7 @@ discard block |
||
| 238 | 238 | return $this->dispatcher; |
| 239 | 239 | } |
| 240 | 240 | |
| 241 | - $routeDefinitionCallback = function (RouteCollector $r) { |
|
| 241 | + $routeDefinitionCallback = function(RouteCollector $r) { |
|
| 242 | 242 | foreach ($this->getRoutes() as $route) { |
| 243 | 243 | $r->addRoute($route->getMethods(), $route->getPattern(), $route->getIdentifier()); |
| 244 | 244 | } |