| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | public static function getTypeName(\ReflectionProperty $property): string |
||
| 13 | { |
||
| 14 | $typeName = $property->getType()?->/** @scrutinizer ignore-call */ getName(); |
||
| 15 | |||
| 16 | return match ($typeName) { |
||
| 17 | 'array' => self::getAttribute($property, ArrayType::class)?->type ?? $typeName, |
||
| 18 | default => $typeName, |
||
| 19 | }; |
||
| 38 |