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

@@ -42,7 +42,7 @@ class TimeCommand extends VanillaCommand{
$this->setPermission("pocketmine.command.time.add;pocketmine.command.time.set;pocketmine.command.time.start;pocketmine.command.time.stop");
}
public function execute(CommandSender $sender, $currentAlias, array $args){
public function execute(CommandSender $sender, string $commandLabel, array $args){
if(count($args) < 1){
throw new InvalidCommandSyntaxException();
}