Completed
Push — master ( ac9ce0...61cc36 )
by Charis
02:14
created
src/Router.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -354,7 +354,7 @@  discard block
 block discarded – undo
354 354
             return $this->dispatcher;
355 355
         }
356 356
 
357
-        $routeDefinitionCallback = function (RouteCollector $r) {
357
+        $routeDefinitionCallback = function(RouteCollector $r) {
358 358
             foreach ($this->getRoutes() as $route) {
359 359
                 $r->addRoute($route->getMethod(), $route->getPattern(), $route->getIdentifier());
360 360
             }
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
             $uri->getPath()
383 383
         );
384 384
 
385
-        $functionHandler = function ($arg) use ($uri, $method) {
385
+        $functionHandler = function($arg) use ($uri, $method) {
386 386
             if (method_exists($this, $arg['methodName']) || $this->hasMethod($arg['methodName'])) {
387 387
                 return $this->{$arg['methodName']}(...$arg['args']);
388 388
             } else {
Please login to merge, or discard this patch.