From 5357e7dd356d0171485cca26c21be4aa24719cdd Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 6 May 2026 15:24:25 +1200 Subject: [PATCH] fix(notifications): quote $id key in PHPDoc array shape PHPStan rejects unquoted $id as a variable token in array shape syntax. Quoting the key satisfies the parser without changing the runtime contract. --- tests/e2e/Services/Notifications/NotificationsBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/Services/Notifications/NotificationsBase.php b/tests/e2e/Services/Notifications/NotificationsBase.php index 6d1e1a0783..81f7cf7ebb 100644 --- a/tests/e2e/Services/Notifications/NotificationsBase.php +++ b/tests/e2e/Services/Notifications/NotificationsBase.php @@ -398,7 +398,7 @@ trait NotificationsBase * shared root user. Used to assert that strangers cannot mark someone * else's alert as read. * - * @return array{$id: string, email: string, session: string} + * @return array{'$id': string, email: string, session: string} */ protected function createConsoleUser(): array {