Apply nullable and void typehints to events namespace

This commit is contained in:
Dylan K. Taylor
2018-06-11 13:49:16 +01:00
parent cfb10360ff
commit eb0276d459
34 changed files with 58 additions and 58 deletions

View File

@ -70,7 +70,7 @@ class PlayerDeathEvent extends EntityDeathEvent{
/**
* @param TextContainer|string $deathMessage
*/
public function setDeathMessage($deathMessage){
public function setDeathMessage($deathMessage) : void{
$this->deathMessage = $deathMessage;
}
@ -78,7 +78,7 @@ class PlayerDeathEvent extends EntityDeathEvent{
return $this->keepInventory;
}
public function setKeepInventory(bool $keepInventory){
public function setKeepInventory(bool $keepInventory) : void{
$this->keepInventory = $keepInventory;
}
}