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

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

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