| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 69 | public function toNull(string $scriptDir): Dependency |
||
| 70 | { |
||
| 71 | assert(is_dir($scriptDir)); |
||
| 72 | $nullObject = new NullObject(); |
||
| 73 | $class = $nullObject->save($this->interface, $scriptDir); |
||
| 74 | |||
| 75 | return new Dependency(new NewInstance(new ReflectionClass($class), new SetterMethods([]))); |
||
| 76 | } |
||
| 77 | } |
||
| 78 |
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.