More typehints for Command stuff

This commit is contained in:
Dylan K. Taylor
2017-07-05 18:54:36 +01:00
parent 46a2e6cbf8
commit 8bb0c53797
47 changed files with 93 additions and 86 deletions

View File

@ -44,7 +44,7 @@ class GiveCommand extends VanillaCommand{
$this->setPermission("pocketmine.command.give");
}
public function execute(CommandSender $sender, $currentAlias, array $args){
public function execute(CommandSender $sender, string $commandLabel, array $args){
if(!$this->testPermission($sender)){
return true;
}