lint fixes
This commit is contained in:
parent
69feb7138a
commit
bc4ec9652c
1 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue