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.
This commit is contained in:
Jake Barnby
2026-05-06 15:24:25 +12:00
parent a8ce7c3736
commit 5357e7dd35
@@ -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
{