mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
PHPStan correctly flagged that Document::isPrivileged() doesn't exist. Changed type hints from Document $user to User $user in all action signatures where $user::isPrivileged() is called, since the runtime instance is always a User (or subclass). https://claude.ai/code/session_01JLPDurUgyj7qViA8JqQFTH