Skip to content

Commit

Permalink
Added array shape for ZipArchive::statIndex method
Browse files Browse the repository at this point in the history
  • Loading branch information
King2500 authored and isfedorov committed Feb 11, 2023
1 parent b3489cf commit d9e2c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zip/zip.php
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ public function statName(
* information about the original file in the archive,
* ignoring any changes made.
* </p>
* @return array|false an array containing the entry details or <b>FALSE</b> on failure.
* @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.
*/
public function statIndex(
#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $index,
Expand Down

0 comments on commit d9e2c0a

Please sign in to comment.