| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2.032 |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | 4 | public function process(Node $parent, Name $name, ClassDependencies $classDependencies): ?Fqn |
|
| 21 | { |
||
| 22 | 4 | $classFqn = $classDependencies->getFqn(); |
|
| 23 | |||
| 24 | 4 | if ($classFqn === null) { |
|
| 25 | return null; |
||
| 26 | } |
||
| 27 | |||
| 28 | 4 | return new Fqn(sprintf('%s\%s', $classFqn->getFullFqnWithoutLastPart(), $name)); |
|
| 29 | } |
||
| 31 |