From 45d962bbfc794061f2c9fa4cc85fb01a1c8e7c4e Mon Sep 17 00:00:00 2001 From: Jake Hotson Date: Sun, 15 Feb 2026 01:27:48 +0000 Subject: [PATCH] [CLEANUP] Correct the DocBlock for `RuleSet` `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. --- src/RuleSet/RuleSet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RuleSet/RuleSet.php b/src/RuleSet/RuleSet.php index 6be349ea..ead0b9c9 100644 --- a/src/RuleSet/RuleSet.php +++ b/src/RuleSet/RuleSet.php @@ -21,8 +21,8 @@ * The most common form of a rule set is one constrained by a selector, i.e., a `DeclarationBlock`. * However, unknown `AtRule`s (like `@font-face`) are rule sets as well. * - * If you want to manipulate a `RuleSet`, use the methods `addRule()`, `getRules()` and `removeRule()` - * (which accepts either a `Declaration` or a rule name; optionally suffixed by a dash to remove all related rules). + * If you want to manipulate a `RuleSet`, + * use the methods `addRule()`, `getRules()`, `removeRule()`, `removeMatchingRules()`, etc. * * Note that `CSSListItem` extends both `Commentable` and `Renderable`, so those interfaces must also be implemented. */