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