diff --git a/app/controllers/general.php b/app/controllers/general.php index d5fecac81e..a25e4826b9 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -371,7 +371,7 @@ App::init() ->groups(['api']) ->inject('project') ->inject('mode') - ->action(function(Document $project, string $mode) { + ->action(function (Document $project, string $mode) { if ($mode === APP_MODE_ADMIN && $project->getId() === 'console') { throw new AppwriteException(AppwriteException::GENERAL_BAD_REQUEST, 'Admin mode is not allowed for console project'); }