mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix: Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
10c2a9d2e9
commit
98a1f1b4d1
1 changed files with 3 additions and 0 deletions
|
|
@ -29,14 +29,17 @@ class TaskProcessingWorkerIsRunning implements ISetupCheck {
|
|||
) {
|
||||
}
|
||||
|
||||
#[\Override]
|
||||
public function getCategory(): string {
|
||||
return 'ai';
|
||||
}
|
||||
|
||||
#[\Override]
|
||||
public function getName(): string {
|
||||
return $this->l10n->t('Task Processing worker status');
|
||||
}
|
||||
|
||||
#[\Override]
|
||||
public function run(): SetupResult {
|
||||
$lastNDays = self::HAS_TASKS_IN_LAST_X_DAYS;
|
||||
$tasks = $this->taskProcessingManager->getTasks(userId: '', scheduleAfter: $this->timeFactory->now()->getTimestamp() - (60 * 60 * 24 * $lastNDays));
|
||||
|
|
|
|||
Loading…
Reference in a new issue