From d9e2c0a574187478aed7a853ab36652b1e18bda1 Mon Sep 17 00:00:00 2001
From: Thomas Schulz
Date: Wed, 1 Feb 2023 11:26:48 +0100
Subject: [PATCH] Added array shape for ZipArchive::statIndex method
---
zip/zip.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zip/zip.php b/zip/zip.php
index 758ecedfd..b8d1f6229 100644
--- a/zip/zip.php
+++ b/zip/zip.php
@@ -1065,7 +1065,7 @@ public function statName(
* information about the original file in the archive,
* ignoring any changes made.
*
- * @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 statIndex(
#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $index,