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

@ -66,7 +66,7 @@ class PlayerExhaustEvent extends EntityEvent implements Cancellable{
return $this->amount;
}
public function setAmount(float $amount){
public function setAmount(float $amount) : void{
$this->amount = $amount;
}