Total Complexity | 5 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Coverage | 86.67% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | trait FieldExtractorTrait |
||
10 | { |
||
11 | /** |
||
12 | * @param array{ |
||
13 | * name: string, |
||
14 | * type: Webonyx\Type|string, |
||
15 | * typeMode: int, |
||
16 | * description: string, |
||
17 | * deprecationReason: string, |
||
18 | * defaultValue: mixed |
||
19 | * } $config |
||
20 | * @param class-string $class |
||
|
|||
21 | * |
||
22 | * @return mixed |
||
23 | */ |
||
24 | 3 | private function extract(array $config, string $class): mixed |
|
49 |