pass 2, manual removal of incorrect non-nullable phpdoc types

This commit is contained in:
Dylan K. Taylor
2020-01-22 12:06:47 +00:00
parent 67bcc1c0fb
commit 1b33143f4f
15 changed files with 0 additions and 48 deletions

View File

@@ -26,9 +26,6 @@ namespace pocketmine\permission;
abstract class DefaultPermissions{
public const ROOT = "pocketmine";
/**
* @param Permission $parent
*/
public static function registerPermission(Permission $perm, ?Permission $parent = null) : Permission{
if($parent instanceof Permission){
$parent->getChildren()[$perm->getName()] = true;