From ce6837c550972815d98df8ce55a24bf09f55f441 Mon Sep 17 00:00:00 2001 From: Jake Hotson Date: Sun, 29 Jun 2025 01:26:01 +0100 Subject: [PATCH] [BUGFIX] Correct an exception message This correction is not worthy of a changelog entry or any tests. --- src/RuleSet/DeclarationBlock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RuleSet/DeclarationBlock.php b/src/RuleSet/DeclarationBlock.php index 5280e5a1e..314bbae3d 100644 --- a/src/RuleSet/DeclarationBlock.php +++ b/src/RuleSet/DeclarationBlock.php @@ -97,7 +97,7 @@ public function setSelectors($selectors, ?CSSList $list = null): void if (!Selector::isValid($selector)) { throw new UnexpectedTokenException( "Selector did not match '" . Selector::SELECTOR_VALIDATION_RX . "'.", - $selectors, + $selector, 'custom' ); }