| @@ -22,15 +22,12 @@ | ||
| 22 | 22 | * @internal |
| 23 | 23 | */ |
| 24 | 24 | class ElementNode extends AbstractNode |
| 25 | 25 | { |
| 26 | - private ?string $namespace; | |
| 27 | - private ?string $element; | |
| 28 | - | |
| 29 | - public function __construct(?string $namespace = null, ?string $element = null) | |
| 30 | - { | |
| 31 | - $this->namespace = $namespace; | |
| 32 | - $this->element = $element; | |
| 26 | + public function __construct( | |
| 27 | + private ?string $namespace = null, | |
| 28 | + private ?string $element = null, | |
| 29 | + ) { | |
| 33 | 30 | } |
| 34 | 31 | |
| 35 | 32 | public function getNamespace(): ?string |
| 36 | 33 | { |