From de53302780aee15d724360f2ee728946a4527659 Mon Sep 17 00:00:00 2001
From: Thomas Schulz
Date: Wed, 1 Feb 2023 12:05:25 +0100
Subject: [PATCH] Added array shape for ZipArchive::statName method
---
zip/zip.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zip/zip.php b/zip/zip.php
index b8d1f6229..c3e492c32 100644
--- a/zip/zip.php
+++ b/zip/zip.php
@@ -1046,7 +1046,7 @@ public function deleteName(#[LanguageLevelTypeAware(['8.0' => 'string'], default
* ignoring any changes made.
* ZipArchive::FL_NOCASE
*
- * @return array|false an array containing the entry details or FALSE 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 FALSE on failure.
*/
public function statName(
#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name,