Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | class CommentNode extends AbstractNode |
||
21 | { |
||
22 | /** @var AbstractNode|null */ |
||
23 | public $next; |
||
24 | |||
25 | /** @var string */ |
||
26 | protected $content; |
||
27 | |||
28 | 1 | public function __construct(string $content) |
|
29 | { |
||
30 | 1 | $this->content = $content; |
|
31 | } |
||
32 | |||
33 | 1 | public function __toString(): string |
|
36 | } |
||
37 | } |
||
38 |