command: populate missing return type info

This commit is contained in:
Dylan K. Taylor
2020-01-19 17:02:55 +00:00
parent ccbcc14600
commit e328d00cca
10 changed files with 37 additions and 4 deletions

View File

@@ -84,7 +84,7 @@ class VersionCommand extends VanillaCommand{
return true;
}
private function describeToSender(Plugin $plugin, CommandSender $sender){
private function describeToSender(Plugin $plugin, CommandSender $sender) : void{
$desc = $plugin->getDescription();
$sender->sendMessage(TextFormat::DARK_GREEN . $desc->getName() . TextFormat::WHITE . " version " . TextFormat::DARK_GREEN . $desc->getVersion());