| Conditions | 4 | 
| Paths | 4 | 
| Total Lines | 11 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php declare(strict_types=1);  | 
            ||
| 17 | public function fullyQualifiedNameFor(Name $name): string  | 
            ||
| 18 |     { | 
            ||
| 19 |         foreach ($this->useStatements as $useStatement) { | 
            ||
| 20 |             if ($useStatement->endsWith($name)) { | 
            ||
| 21 | return $useStatement->fullyQualifiedName($name);  | 
            ||
| 22 | }  | 
            ||
| 23 |             if ($useStatement->isAliasedAs($name)) { | 
            ||
| 24 | return $useStatement->fullyQualifiedName($name);  | 
            ||
| 25 | }  | 
            ||
| 26 | }  | 
            ||
| 27 | return (string) $name;  | 
            ||
| 28 | }  | 
            ||
| 30 |