mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-14 17:59:41 +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 bool $invert
|
||||||
* @param PermissionAttachment|null $attachment
|
* @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();
|
$permManager = PermissionManager::getInstance();
|
||||||
foreach($children as $name => $v){
|
foreach($children as $name => $v){
|
||||||
$perm = $permManager->getPermission($name);
|
$perm = $permManager->getPermission($name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user