Skip to content

Commit

Permalink
Issue #277: sort routes by name
Browse files Browse the repository at this point in the history
Signed-off-by: alexmerlin <[email protected]>
  • Loading branch information
alexmerlin committed Jun 7, 2024
1 parent 1510df7 commit 2496c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App/src/Command/RouteListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
continue;
}

$routes[sprintf('%s:%s', $method, $route->getPath())] = [
$routes[sprintf('%s:%s', $route->getName(), $method)] = [
'name' => $route->getName(),
'path' => $route->getPath(),
'method' => $method,
Expand Down

0 comments on commit 2496c52

Please sign in to comment.