1
0
Fork 0
mirror of synced 2024-09-17 10:00:07 +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 Utopia\Logger\Log;
use Throwable; use Throwable;
abstract class Action extends PlatformAction { abstract class Action extends PlatformAction
protected function logError(Registry $register, Throwable $error, string $action = 'syncUsageStats') { {
protected function logError(Registry $register, Throwable $error, string $action = 'syncUsageStats')
{
$logger = $register->get('logger'); $logger = $register->get('logger');
if ($logger) { if ($logger) {
@ -107,4 +109,4 @@ abstract class Action extends PlatformAction {
} while ($attempts < $max); } while ($attempts < $max);
return $database; return $database;
} }
} }