From 225f1b96793bebe8dd290cfd401eac455f78ee0a Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Fri, 13 Nov 2026 18:57:42 +0100 Subject: [PATCH] Update FolderInterface.php: Adding return type for better static analysis I'm suggesting to add types for the array elements like this; for other arrays too. I haven't double-checked if those here are really correct for all cases. --- src/FolderInterface.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FolderInterface.php b/src/FolderInterface.php index 152de63..64c7b21 100644 --- a/src/FolderInterface.php +++ b/src/FolderInterface.php @@ -68,6 +68,7 @@ public function quota(): array; /** * Get the folder's status. + * @return array{'MESSAGES': string, 'RECENT': string, 'UIDNEXT': string, 'UIDVALIDITY': string, 'UNSEEN': string} */ public function status(): array;