src/Rbac/PhpManager.php
public function removeChildren($parent)
    {
        if (isset($this->children[$parent->name])) {
            unset($this->children[$parent->name]);
            return $this->saveItems();
        }

        return reject(new Error("'{$parent->name}' has no children"));
    }
public function removeChildren($parent)
    {
        if (isset($this->children[$parent->name])) {
            unset($this->children[$parent->name]);
            return $this->saveItems();
        }

        return reject(new Error("'{$parent->name}' has no children"));
    }
{@inheritdoc}