Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark committed Jan 12, 2022
1 parent d847d72 commit 270a049
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/CompositeRule.php
Expand Up @@ -77,12 +77,6 @@ public function execute(string $userId, Item $item, array $parameters = []): boo

public function getAttributes(): array
{
$subRulesAttributes = [];

foreach ($this->rules as $rule) {
$subRulesAttributes[] = $rule->getAttributes();
}

return [
'name' => $this->getName(),
'operator' => $this->operator,
Expand Down

0 comments on commit 270a049

Please sign in to comment.