| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | 58 | public function render(Node $node, ChildNodeRendererInterface $childRenderer): \Stringable |
|
| 34 | { |
||
| 35 | 58 | TableRow::assertInstanceOf($node); |
|
| 36 | |||
| 37 | 56 | $attrs = $node->data->get('attributes'); |
|
| 38 | |||
| 39 | 56 | $separator = $childRenderer->getInnerSeparator(); |
|
| 40 | |||
| 41 | 56 | return new HtmlElement('tr', $attrs, $separator . $childRenderer->renderNodes($node->children()) . $separator); |
|
| 42 | } |
||
| 57 |