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

@ -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;
}