| Conditions | 2 |
| Paths | 2 |
| Total Lines | 5 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types = 1); |
||
| 27 | private function getZipErrorString(int $value): string |
||
| 28 | { |
||
| 29 | $map = array_flip(array: (new ReflectionClass(objectOrClass: ZipArchive::class))->getConstants(filter: ReflectionProperty::IS_PUBLIC)); |
||
| 30 | |||
| 31 | return array_key_exists(key: $value, array: $map) ? $map[$value] : 'UNKNOWN'; |
||
| 32 | } |
||
| 34 |