Total Complexity | 5 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | final class ReaderFactory |
||
14 | { |
||
15 | /** |
||
16 | * @param ReaderInterface|DoctrineAnnotationReader|null $reader |
||
17 | * @return ReaderInterface |
||
18 | * |
||
19 | * @psalm-type ReaderType = ReaderInterface | DoctrineAnnotationReader | null |
||
20 | * @psalm-param ReaderType $reader |
||
21 | */ |
||
22 | public static function create($reader = null): ReaderInterface |
||
48 |