mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
null and void typehints
This commit is contained in:
@ -61,11 +61,11 @@ class DropItemAction extends InventoryAction{
|
||||
return $source->dropItem($this->targetItem);
|
||||
}
|
||||
|
||||
public function onExecuteSuccess(Player $source){
|
||||
public function onExecuteSuccess(Player $source) : void{
|
||||
|
||||
}
|
||||
|
||||
public function onExecuteFail(Player $source){
|
||||
public function onExecuteFail(Player $source) : void{
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user