src/Rbac/DbManager.php
public function removeChild($parent, $child)
    {
        return $this->db->createCommand()
            ->delete($this->itemChildTable, ['parent' => $parent->name, 'child' => $child->name])
            ->execute()
            ->then(function($count = 0) {
                return $this->invalidateCache()
                    ->then(function() use ($count) {
                        return $count > 0;
                    });
            });
    }
public function removeChild($parent, $child)
    {
        return $this->db->createCommand()
            ->delete($this->itemChildTable, ['parent' => $parent->name, 'child' => $child->name])
            ->execute()
            ->then(function($count = 0) {
                return $this->invalidateCache()
                    ->then(function() use ($count) {
                        return $count > 0;
                    });
            });
    }
{@inheritdoc}