mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Apply nullable and void typehints to events namespace
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user