nextcloud/lib/private/Repair/NC13/AddLogRotateJob.php
Ferdinand Thiessen e0ba4d71b6
chore: add missing Override attribute to OC
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-28 21:29:27 +02:00

31 lines
611 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OC\Repair\NC13;
use OC\Log\Rotate;
use OCP\BackgroundJob\IJobList;
use OCP\Migration\IOutput;
use OCP\Migration\IRepairStep;
class AddLogRotateJob implements IRepairStep {
public function __construct(
private readonly IJobList $jobList,
) {
}
#[\Override]
public function getName(): string {
return 'Add log rotate job';
}
#[\Override]
public function run(IOutput $output): void {
$this->jobList->add(Rotate::class);
}
}