← All changes
|
vendor/symfony/css-selector/Node/CombinedSelectorNode.php
+5
-9
4.3.8
→
4.4.9
View file →
| @@ -22,17 +22,13 @@ | ||
| 22 | 22 | * @internal |
| 23 | 23 | */ |
| 24 | 24 | class CombinedSelectorNode extends AbstractNode |
| 25 | 25 | { |
| 26 | - private NodeInterface $selector; | |
| 27 | - private string $combinator; | |
| 28 | - private NodeInterface $subSelector; | |
| 29 | - | |
| 30 | - public function __construct(NodeInterface $selector, string $combinator, NodeInterface $subSelector) | |
| 31 | - { | |
| 32 | - $this->selector = $selector; | |
| 33 | - $this->combinator = $combinator; | |
| 34 | - $this->subSelector = $subSelector; | |
| 26 | + public function __construct( | |
| 27 | + private NodeInterface $selector, | |
| 28 | + private string $combinator, | |
| 29 | + private NodeInterface $subSelector, | |
| 30 | + ) { | |
| 35 | 31 | } |
| 36 | 32 | |
| 37 | 33 | public function getSelector(): NodeInterface |
| 38 | 34 | { |