We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42f1afc commit c2d4d3cCopy full SHA for c2d4d3c
1 file changed
system/Commands/Utilities/Routes.php
@@ -77,7 +77,7 @@ class Routes extends BaseCommand
77
*/
78
public function run(array $params)
79
{
80
- $sortByHandler = array_key_exists('h', $params) ? true : false;
+ $sortByHandler = array_key_exists('h', $params);
81
82
$collection = Services::routes()->loadRoutes();
83
$methods = [
0 commit comments