1
0
Fork 0
mirror of synced 2024-09-09 14:21:24 +12:00

lint fixes

This commit is contained in:
Damodar Lohani 2022-07-17 01:57:37 +00:00
parent 69feb7138a
commit bc4ec9652c

View file

@ -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;
}
}
}