Passed
Branch master (9f5807)
by Harry
02:52
created
Category
src/TrailingSlashControllerProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
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
             }
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
          * We override the default RedirectableUrlMatcher so that Silex doesn't
84 84
          * respond with 301 to GET requests missing a trailing slash.
85 85
          */
86
-        $app['url_matcher'] = $app->share(function () use ($app) {
86
+        $app['url_matcher'] = $app->share(function() use ($app) {
87 87
             if ($app['logger']) {
88 88
                 $app['logger']->debug(sprintf('Overriding the default Silex url matcher to %s.', UrlMatcher::class));
89 89
             }
Please login to merge, or discard this patch.