mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user