| Conditions | 3 |
| Paths | 4 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 39 | 8 | public function getName(): ?string |
|
| 40 | { |
||
| 41 | 8 | $parentGroupName = $this->parentGroup()->getName(); |
|
| 42 | 8 | $selfName = parent::getName(); |
|
| 43 | 8 | $result = $parentGroupName !== null || $selfName !== null ? $parentGroupName . $selfName : null; |
|
| 44 | |||
| 45 | 8 | return $result; |
|
| 46 | } |
||
| 47 | |||
| 58 |