| @@ -22,14 +22,14 @@ | ||
| 22 | 22 | * @internal |
| 23 | 23 | */ |
| 24 | 24 | class SelectorNode extends AbstractNode |
| 25 | 25 | { |
| 26 | - private NodeInterface $tree; | |
| 27 | 26 | private ?string $pseudoElement; |
| 28 | 27 | |
| 29 | - public function __construct(NodeInterface $tree, ?string $pseudoElement = null) | |
| 30 | - { | |
| 31 | - $this->tree = $tree; | |
| 28 | + public function __construct( | |
| 29 | + private NodeInterface $tree, | |
| 30 | + ?string $pseudoElement = null, | |
| 31 | + ) { | |
| 32 | 32 | $this->pseudoElement = $pseudoElement ? strtolower($pseudoElement) : null; |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | public function getTree(): NodeInterface |