mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
Constrain types to PermissibleInternal on internal permission subscription methods
This commit is contained in:
@@ -78,7 +78,7 @@ class Permission{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Permissible[]
|
||||
* @return PermissibleInternal[]
|
||||
*/
|
||||
public function getPermissibles() : array{
|
||||
return PermissionManager::getInstance()->getPermissionSubscriptions($this->name);
|
||||
|
Reference in New Issue
Block a user