Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 36c0052

Browse files
committed
update SpecificityAdjustementNode specificity
1 parent 9f7212c commit 36c0052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/CssSelector/Node/SpecificityAdjustmentNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function __construct(
3434

3535
public function getSpecificity(): Specificity
3636
{
37-
return $this->selector->getSpecificity()->plus(new Specificity(0, 0, 0));
37+
return $this->selector->getSpecificity();
3838
}
3939

4040
public function __toString(): string

0 commit comments

Comments
 (0)