diff --git a/src/Appwrite/Platform/Workers/Audits.php b/src/Appwrite/Platform/Workers/Audits.php index bd299b7b0b..f889f5e939 100644 --- a/src/Appwrite/Platform/Workers/Audits.php +++ b/src/Appwrite/Platform/Workers/Audits.php @@ -33,7 +33,7 @@ class Audits extends Action /** * @throws Exception */ - public function action(Message $message, $dbForProject): void + public function action(Message $message, Database $dbForProject): void { $payload = $message->getPayload() ?? [];