ksort on commands array to avoid converting to numerical array

This commit is contained in:
Mikael Nordfeldth 2015-04-19 21:12:26 +02:00
parent a55d1df585
commit 1194c47c5d
1 changed files with 1 additions and 1 deletions

View File

@ -932,7 +932,7 @@ class HelpCommand extends Command
// Give plugins a chance to add or override...
Event::handle('HelpCommandMessages', array($this, &$commands));
sort($commands);
ksort($commands);
foreach ($commands as $command => $help) {
$out[] = "$command - $help";
}