mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 00:39:45 +00:00
PermissibleBase: added native returm types to private functions
This commit is contained in:
parent
1e624e7bb9
commit
f069df65a8
@ -180,7 +180,7 @@ class PermissibleBase implements Permissible{
|
||||
* @param bool $invert
|
||||
* @param PermissionAttachment|null $attachment
|
||||
*/
|
||||
private function calculateChildPermissions(array $children, bool $invert, ?PermissionAttachment $attachment){
|
||||
private function calculateChildPermissions(array $children, bool $invert, ?PermissionAttachment $attachment) : void{
|
||||
$permManager = PermissionManager::getInstance();
|
||||
foreach($children as $name => $v){
|
||||
$perm = $permManager->getPermission($name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user