Skip to content

Commit de53302

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

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
@@ -1046,7 +1046,7 @@ public function deleteName(#[LanguageLevelTypeAware(['8.0' => 'string'], default
10461046
* ignoring any changes made.
10471047
* <b>ZipArchive::FL_NOCASE</b>
10481048
* </p>
1049-
* @return array|false an array containing the entry details or <b>FALSE</b> on failure.
1049+
* @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.
10501050
*/
10511051
public function statName(
10521052
#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name,

0 commit comments

Comments
 (0)