src/Rbac/PhpManager.php
public function removeAllRules()
    {
        foreach ($this->items as $item) {
            $item->ruleName = null;
        }
        $this->rules = [];
        return $this->saveRules();
    }
public function removeAllRules()
    {
        foreach ($this->items as $item) {
            $item->ruleName = null;
        }
        $this->rules = [];
        return $this->saveRules();
    }
{@inheritdoc}