| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class TagDocumentation extends Tag |
||
| 11 | { |
||
| 12 | 2 | public function getContent(): string |
|
| 15 | } |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Finds parent node of this documentation node without taking care of the name attribute for enumeration. |
||
| 19 | * This case is managed first because enumerations are contained by elements and |
||
| 20 | * the method could climb to its parent without stopping on the enumeration tag. |
||
| 21 | * Indeed, depending on the node, it may contain or not the attribute named "name" so we have to split each case. |
||
| 22 | */ |
||
| 23 | 4 | public function getSuitableParent(bool $checkName = true, array $additionalTags = [], int $maxDeep = self::MAX_DEEP, bool $strict = false): ?AbstractNodeHandler |
|
| 33 | } |
||
| 34 | |||
| 35 | 2 | public function getSuitableParentTags(array $additionalTags = []): array |
|
| 43 |