Skip to content

Commit 6974745

Browse files
committed
Reorder construction
1 parent 85e547c commit 6974745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RuleSet/DeclarationBlock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ class DeclarationBlock implements CSSElement, CSSListItem, Positionable, RuleCon
5050
*/
5151
public function __construct(?int $lineNumber = null)
5252
{
53-
$this->setPosition($lineNumber);
5453
$this->ruleSet = new RuleSet($lineNumber);
54+
$this->setPosition($lineNumber);
5555
}
5656

5757
/**

0 commit comments

Comments
 (0)