1
0
Fork 0
mirror of synced 2024-07-04 14:10:33 +12:00

feat: linter fixes

This commit is contained in:
Christy Jacob 2023-01-26 16:29:24 +05:30
parent c97e7ce328
commit ac2e7efb3c

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());