Skip to content

Commit fa583d8

Browse files
authored
[CLEANUP] Correct the DocBlock for RuleSet (#1523)
`RemoveRule` was split up in #1249 to avoid parameter type overloading, but updating the class DocBlock was missed then. The class DocBlock should not be describing what individual methods do, so that additional duplicated information has been removed. It exists in the DocBlock for the method.
1 parent e4be5f4 commit fa583d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/RuleSet/RuleSet.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
* The most common form of a rule set is one constrained by a selector, i.e., a `DeclarationBlock`.
2222
* However, unknown `AtRule`s (like `@font-face`) are rule sets as well.
2323
*
24-
* If you want to manipulate a `RuleSet`, use the methods `addRule()`, `getRules()` and `removeRule()`
25-
* (which accepts either a `Declaration` or a rule name; optionally suffixed by a dash to remove all related rules).
24+
* If you want to manipulate a `RuleSet`,
25+
* use the methods `addRule()`, `getRules()`, `removeRule()`, `removeMatchingRules()`, etc.
2626
*
2727
* Note that `CSSListItem` extends both `Commentable` and `Renderable`, so those interfaces must also be implemented.
2828
*/

0 commit comments

Comments
 (0)