Completed
Pull Request — master (#10)
by Harry
03:42
created
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
             }
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
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
                 }
Please login to merge, or discard this patch.