Completed
Push — master ( 465be6...9ae858 )
by Kirill
31s queued 20s
created
src/AnnotatedRoutes/src/RouteLocator.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,12 +34,14 @@
 block discarded – undo
34 34
     public function findDeclarations(): array
35 35
     {
36 36
         $routes = iterator_to_array($this->locator->findMethods(RouteAnnotation::class));
37
-        uasort($routes, static function (AnnotatedMethod $route1, AnnotatedMethod $route2) {
37
+        uasort($routes, static function (AnnotatedMethod $route1, AnnotatedMethod $route2)
38
+        {
38 39
             return $route1->getAnnotation()->priority <=> $route2->getAnnotation()->priority;
39 40
         });
40 41
 
41 42
         $result = [];
42
-        foreach ($routes as $match) {
43
+        foreach ($routes as $match)
44
+        {
43 45
             /** @var RouteAnnotation $route */
44 46
             $route = $match->getAnnotation();
45 47
 
Please login to merge, or discard this patch.