| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| 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 | $file = sprintf('%s/%s.php', $scriptDir, str_replace('\\', '_', $class)); |
||
| 75 | |||
| 76 | return new Dependency(new NewInstance(new ReflectionClass($class), new SetterMethods([]))); |
||
| 77 | } |
||
| 78 | } |
||
| 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.