Passed
Pull Request — master (#366)
by
unknown
02:54
created
src/Console/Commands/RouteListCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
             $module = $this->getOption('module');
63 63
 
64 64
             if ($module) {
65
-                $routes = array_filter($routes, function ($route) use ($module) {
65
+                $routes = array_filter($routes, function($route) use ($module) {
66 66
                     return strtolower($route['module']) === strtolower($module);
67 67
                 });
68 68
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
                 ->setHeaders(['MODULE', 'METHOD', 'URI', 'ACTION', 'MIDDLEWARE'])
85 85
                 ->setRows($rows)
86 86
                 ->render();
87
-        } catch (ModuleException|RouteException $e) {
87
+        } catch (ModuleException | RouteException $e) {
88 88
             $this->error($e->getMessage());
89 89
         }
90 90
     }
Please login to merge, or discard this patch.