Added typehints to HelpCommand

This commit is contained in:
Shoghi Cervantes 2014-12-28 01:49:10 +01:00
parent 2db2e8cfc4
commit fafbd500e1
No known key found for this signature in database
GPG Key ID: 78464DB0A7837F89

View File

@ -64,6 +64,7 @@ class HelpCommand extends VanillaCommand{
}
if($command === ""){
/** @var Command[][] $commands */
$commands = [];
foreach($sender->getServer()->getCommandMap()->getCommands() as $command){
if($command->testPermissionSilent($sender)){