Skip to content

Commit

Permalink
cosmetic tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 committed Jul 26, 2012
1 parent 2fa17c1 commit f35c2be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Routing/RestRouteCollection.php
Expand Up @@ -83,11 +83,11 @@ public function all()

if ($route1Match && !$route2Match) {
return 1;
} elseif (!$route1Match && $route2Match) {
}
if (!$route1Match && $route2Match) {
return -1;
} else {
return strcmp($route1, $route2);
}
return strcmp($route1, $route2);
});

return $routes;
Expand Down

0 comments on commit f35c2be

Please sign in to comment.