Skip to content

Commit

Permalink
Remove unused setRuleName method
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosas committed Aug 15, 2023
2 parents ff85055 + e49c2a3 commit dbb6e92
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/Test/Builder/AbstractStep.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,4 @@ final public function __invoke(): RelationRule
{
return $this->rule;
}

final public function setRuleName(string $ruleName): void
{
$this->rule->ruleName = $ruleName;
}
}
1 change: 0 additions & 1 deletion src/Test/TestParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ private function parse(): array
$object = $reflected->newInstanceWithoutConstructor();
foreach ($methods as $method) {
$ruleBuilder = $object->{$method}();
$ruleBuilder->setRuleName($method);
$rules[] = $ruleBuilder;
}
}
Expand Down

0 comments on commit dbb6e92

Please sign in to comment.