Skip to content

Commit d9e2c0a

Browse files
King2500isfedorov
authored andcommitted
Added array shape for ZipArchive::statIndex method
1 parent b3489cf commit d9e2c0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zip/zip.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ public function statName(
10651065
* information about the original file in the archive,
10661066
* ignoring any changes made.
10671067
* </p>
1068-
* @return array|false an array containing the entry details or <b>FALSE</b> on failure.
1068+
* @return array{name: string, index: int, crc: int, size: int, mtime: int, comp_size: int, comp_method: int, encryption_method: int}|false an array containing the entry details or <b>FALSE</b> on failure.
10691069
*/
10701070
public function statIndex(
10711071
#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $index,

0 commit comments

Comments
 (0)