Completed
Pull Request — master (#153)
by Anton
03:50
created
source/Spiral/Http/Routing/Router.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
  */
8 8
 namespace Spiral\Http\Routing;
9 9
 
10
-use Cocur\Slugify\SlugifyInterface;
11 10
 use Psr\Http\Message\ResponseInterface;
12 11
 use Psr\Http\Message\ServerRequestInterface;
13 12
 use Spiral\Core\ContainerInterface;
Please login to merge, or discard this patch.
source/Spiral/Http/Routing/ControllersRoute.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
     {
121 121
         $route = $this;
122 122
 
123
-        return function () use ($route) {
123
+        return function() use ($route) {
124 124
             $matches = $route->getMatches();
125 125
 
126 126
             //Due we are expecting part of class name we can remove some garbage (see to-do below)
Please login to merge, or discard this patch.
source/Spiral/Http/Routing/Route.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
         $route = $this;
66 66
 
67
-        return function () use ($route) {
67
+        return function() use ($route) {
68 68
             list($controller, $action) = explode(':', str_replace('::', ':', $route->target));
69 69
 
70 70
             if ($action == self::DYNAMIC_ACTION) {
Please login to merge, or discard this patch.