Passed
Push — master ( 188f5f...1c80d5 )
by Stefan
04:51
created
src/Classifiers/ControllerClassifier.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     public function satisfies(ReflectionClass $class): bool
19 19
     {
20 20
         return collect(app(Router::class)->getRoutes())
21
-            ->reject(function ($route) {
21
+            ->reject(function($route) {
22 22
                 if (method_exists($route, 'getActionName')) {
23 23
                     // Laravel
24 24
                     return $route->getActionName() === 'Closure';
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
                 // Lumen
28 28
                 return data_get($route, 'action.uses') === null;
29 29
             })
30
-            ->map(function ($route) {
30
+            ->map(function($route) {
31 31
                 if (method_exists($route, 'getController')) {
32 32
                     // Laravel
33 33
                     try {
Please login to merge, or discard this patch.