Skip to content

Commit

Permalink
Added array shape for ZipArchive::statName 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 d9e2c0a commit de53302
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 @@ -1046,7 +1046,7 @@ public function deleteName(#[LanguageLevelTypeAware(['8.0' => 'string'], default
* ignoring any changes made.
* <b>ZipArchive::FL_NOCASE</b>
* </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 statName(
#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name,
Expand Down

0 comments on commit de53302

Please sign in to comment.