Skip to content

Commit c2d4d3c

Browse files
committed
refactor: by rector
1 parent 42f1afc commit c2d4d3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Commands/Utilities/Routes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class Routes extends BaseCommand
7777
*/
7878
public function run(array $params)
7979
{
80-
$sortByHandler = array_key_exists('h', $params) ? true : false;
80+
$sortByHandler = array_key_exists('h', $params);
8181

8282
$collection = Services::routes()->loadRoutes();
8383
$methods = [

0 commit comments

Comments
 (0)