diff --git a/src/RuleSet/RuleSet.php b/src/RuleSet/RuleSet.php index 2ef59d70..081492aa 100644 --- a/src/RuleSet/RuleSet.php +++ b/src/RuleSet/RuleSet.php @@ -145,7 +145,7 @@ public function addRule(Rule $ruleToAdd, ?Rule $sibling = null): void * Pattern to search for. If null, returns all rules. * If the pattern ends with a dash, all rules starting with the pattern are returned * as well as one matching the pattern with the dash excluded. - * Passing a Rule behaves like calling `getRules($mRule->getRule())`. + * Passing a `Rule` behaves like calling `getRules($rule->getRule())`. * * @return array */ @@ -204,7 +204,7 @@ public function setRules(array $rules): void * @param Rule|string|null $searchPattern * Pattern to search for. If null, returns all rules. If the pattern ends with a dash, * all rules starting with the pattern are returned as well as one matching the pattern with the dash - * excluded. Passing a Rule behaves like calling `getRules($mRule->getRule())`. + * excluded. Passing a `Rule` behaves like calling `getRules($rule->getRule())`. * * @return array */