| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 43 | public function inject(Container $container) |
||
| 44 | { |
||
| 45 | $scriptDir = $container->getInstance('', ScriptDir::class); |
||
| 46 | assert(is_string($scriptDir)); |
||
| 47 | assert(interface_exists($this->interface)); |
||
| 48 | $class = (new NullObject($scriptDir))($this->interface); |
||
| 49 | |||
| 50 | return (new ReflectionClass($class))->newInstanceWithoutConstructor(); |
||
| 51 | } |
||
| 52 | |||
| 79 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.