@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | { |
35 | 35 | $controllers = $app['controllers_factory']; |
36 | 36 | |
37 | - $handler = function ($resource) use ($app) { |
|
37 | + $handler = function($resource) use ($app) { |
|
38 | 38 | if ($app['logger']) { |
39 | 39 | $app['logger']->debug(sprintf('Appending a trailing slash for the request to `/%s`.', $resource)); |
40 | 40 | } |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | * respond with 301 to GET requests missing a trailing slash. |
85 | 85 | */ |
86 | 86 | $app['url_matcher'] = $app->share( |
87 | - function () use ($app) { |
|
87 | + function() use ($app) { |
|
88 | 88 | if ($app['logger']) { |
89 | 89 | $app['logger']->debug(sprintf('Overriding the default Silex url matcher to %s.', UrlMatcher::class)); |
90 | 90 | } |