Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/RuleSet/RuleSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<int, Rule>
*/
Expand Down Expand Up @@ -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<string, Rule>
*/
Expand Down