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