From bc4ec9652cb3b3369d00c2d448fdb64b10cdf096 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Sun, 17 Jul 2022 01:57:37 +0000 Subject: [PATCH] lint fixes --- src/Appwrite/Platform/Action.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 +}