| @@ -22,21 +22,15 @@ | ||
| 22 | 22 | * @internal |
| 23 | 23 | */ |
| 24 | 24 | class AttributeNode extends AbstractNode |
| 25 | 25 | { |
| 26 | - private NodeInterface $selector; | |
| 27 | - private ?string $namespace; | |
| 28 | - private string $attribute; | |
| 29 | - private string $operator; | |
| 30 | - private ?string $value; | |
| 31 | - | |
| 32 | - public function __construct(NodeInterface $selector, ?string $namespace, string $attribute, string $operator, ?string $value) | |
| 33 | - { | |
| 34 | - $this->selector = $selector; | |
| 35 | - $this->namespace = $namespace; | |
| 36 | - $this->attribute = $attribute; | |
| 37 | - $this->operator = $operator; | |
| 38 | - $this->value = $value; | |
| 26 | + public function __construct( | |
| 27 | + private NodeInterface $selector, | |
| 28 | + private ?string $namespace, | |
| 29 | + private string $attribute, | |
| 30 | + private string $operator, | |
| 31 | + private ?string $value, | |
| 32 | + ) { | |
| 39 | 33 | } |
| 40 | 34 | |
| 41 | 35 | public function getSelector(): NodeInterface |
| 42 | 36 | { |