mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Misc return typehints
This commit is contained in:
@ -132,7 +132,7 @@ class EntityDamageEvent extends EntityEvent implements Cancellable{
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isApplicable(int $type){
|
||||
public function isApplicable(int $type) : bool{
|
||||
return isset($this->modifiers[$type]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user