Passed
Pull Request — master (#75)
by Anatoly
11:04
created
src/Loader/ConfigLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
         );
149 149
 
150 150
         foreach ($this->resources as $resource) {
151
-            (function () use ($resource) {
151
+            (function() use ($resource) {
152 152
                 require $resource;
153 153
             })->call($collector);
154 154
         }
Please login to merge, or discard this patch.
src/Loader/DescriptorLoader.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
             }
297 297
         }
298 298
 
299
-        usort($result, function ($a, $b) {
299
+        usort($result, function($a, $b) {
300 300
             return $b->priority <=> $a->priority;
301 301
         });
302 302
 
@@ -365,8 +365,7 @@  discard block
 block discarded – undo
365 365
         if (isset($this->annotationReader)) {
366 366
             try {
367 367
                 return ($classOrMethod instanceof ReflectionClass) ?
368
-                    $this->annotationReader->getClassAnnotation($classOrMethod, Route::class) :
369
-                    $this->annotationReader->getMethodAnnotation($classOrMethod, Route::class);
368
+                    $this->annotationReader->getClassAnnotation($classOrMethod, Route::class) : $this->annotationReader->getMethodAnnotation($classOrMethod, Route::class);
370 369
             } catch (AnnotationException $e) {
371 370
                 throw new InvalidDescriptorException($e->getMessage(), [], 0, $e);
372 371
             }
Please login to merge, or discard this patch.