feat: linter fixes

This commit is contained in:
Christy Jacob
2023-01-26 16:29:24 +05:30
parent c97e7ce328
commit ac2e7efb3c
+2 -3
View File
@@ -140,7 +140,7 @@ class Hamster extends Action
}
});
return $stats;
return $stats;
}
public function action(Registry $register, Group $pools, Cache $cache, Database $dbForConsole): void
@@ -174,7 +174,7 @@ class Hamster extends Action
if ($project->getId() === 'console') {
continue;
}
Console::info("Getting stats for {$project->getId()}");
try {
@@ -190,7 +190,6 @@ class Hamster extends Action
$statsPerProject = $this->getStats($dbForConsole, $dbForProject, $project);
$csv->insertOne(array_values($statsPerProject));
} catch (\Throwable $th) {
throw $th;
Console::error('Failed to update project ("' . $project->getId() . '") version with error: ' . $th->getMessage());