PHPStan 1.9.1

This commit is contained in:
Dylan K. Taylor
2022-11-04 18:28:07 +00:00
parent fe982c697b
commit bfd1b2c635
6 changed files with 15 additions and 12 deletions

View File

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