diff --git a/src/Appwrite/Platform/Action.php b/src/Appwrite/Platform/Action.php index 314d7ede20..3982acfbe4 100644 --- a/src/Appwrite/Platform/Action.php +++ b/src/Appwrite/Platform/Action.php @@ -15,8 +15,10 @@ use Utopia\Registry\Registry; use Utopia\Logger\Log; use Throwable; -abstract class Action extends PlatformAction { - protected function logError(Registry $register, Throwable $error, string $action = 'syncUsageStats') { +abstract class Action extends PlatformAction +{ + protected function logError(Registry $register, Throwable $error, string $action = 'syncUsageStats') + { $logger = $register->get('logger'); if ($logger) { @@ -107,4 +109,4 @@ abstract class Action extends PlatformAction { } while ($attempts < $max); return $database; } -} \ No newline at end of file +}