| Conditions | 3 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | protected function resolveByType(\ReflectionParameter $param) { |
||
| 15 | if ($param->hasType() === false || $param->getType()->isBuiltin()) |
||
| 16 | return null; |
||
| 17 | |||
| 18 | $name = $param->getClass()->getName(); |
||
| 19 | return $this->fromClass($name) |
||
|
|
|||
| 20 | ?? $this->fromInterfaceMethod($name) |
||
| 21 | ?? $this->fromInterfaceAlias($name) |
||
| 22 | ?? null; |
||
| 23 | } |
||
| 24 | } |