mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Misc return typehints
This commit is contained in:
@ -548,7 +548,7 @@ class Human extends Creature implements ProjectileSource, InventoryHolder{
|
||||
* @param int $flagId
|
||||
* @return bool
|
||||
*/
|
||||
public function getPlayerFlag(int $flagId){
|
||||
public function getPlayerFlag(int $flagId) : bool{
|
||||
return $this->getDataFlag(self::DATA_PLAYER_FLAGS, $flagId);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user