| Total Complexity | 6 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 13 | trait ParentNodeWorkarounds |
||
| 14 | { |
||
| 15 | // https://github.com/php/php-src/pull/11768 - fixed in ~8.1.23, ^8.2.10 |
||
| 16 | // https://github.com/php/php-src/pull/12308 - not sure why this mitigates this issue |
||
| 17 | public function append(...$nodes): void |
||
| 22 | } |
||
| 23 | } |
||
| 24 | |||
| 25 | // https://github.com/php/php-src/pull/11768 |
||
| 26 | public function prepend(...$nodes): void |
||
| 33 | } |