| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | public static function create(): SymfonyReflectionExtractor |
||
| 11 | { |
||
| 12 | $method = new ReflectionMethod(SymfonyReflectionExtractor::class, 'isReadable'); |
||
| 13 | $type = $method->getReturnType(); |
||
| 14 | if (null === $type) { |
||
| 15 | return new ReflectionExtractorSerializer4(); |
||
| 16 | } |
||
| 17 | return new ReflectionExtractor(); |
||
| 18 | } |
||
| 20 |