| Total Complexity | 4 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class Tag extends AbstractTag |
||
| 11 | { |
||
| 12 | 2 | public function hasRestrictionChild(): bool |
|
| 15 | } |
||
| 16 | |||
| 17 | 8 | public function getFirstRestrictionChild(): ?TagRestriction |
|
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Checks if the given tag is the same direct parent of this current tag. |
||
| 24 | */ |
||
| 25 | 4 | public function isTheParent(AbstractTag $tag): bool |
|
| 32 |