@@ -251,7 +251,7 @@ |
||
251 | 251 | * @param array $files_to_extract |
252 | 252 | * @return mixed If destination is null, return a short array of a few file details optionally delimited by $files_to_extract. If $single_file is true, return contents of a file as a string; false otherwise |
253 | 253 | */ |
254 | -function read_zip_data(string $data, ?string $destination, bool $single_file = false, bool $overwrite = false, ?array $files_to_extract = null)/* PHP 8: array|false */ |
|
254 | +function read_zip_data(string $data, ?string $destination, bool $single_file = false, bool $overwrite = false, ?array $files_to_extract = null)/* PHP 8: array|false */ |
|
255 | 255 | { |
256 | 256 | umask(0); |
257 | 257 | if ($destination !== null && !file_exists($destination) && !$single_file) |