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:
@ -156,7 +156,7 @@ class EntityDamageEvent extends EntityEvent implements Cancellable{
|
||||
* @param float $damage
|
||||
* @param int $type
|
||||
*/
|
||||
public function setModifier(float $damage, int $type){
|
||||
public function setModifier(float $damage, int $type) : void{
|
||||
$this->modifiers[$type] = $damage;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user