mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 19:13:49 +00:00
rector fixes after rector's upgrade
This commit is contained in:
@@ -23,16 +23,16 @@ use Symfony\Component\Messenger\MessageBusInterface;
|
||||
* This cronjob is executed every 7days, to remove expired stored object. For every
|
||||
* expired stored object, every version is sent to message bus for async deletion.
|
||||
*/
|
||||
final class RemoveExpiredStoredObjectCronJob implements CronJobInterface
|
||||
final readonly class RemoveExpiredStoredObjectCronJob implements CronJobInterface
|
||||
{
|
||||
public const string KEY = 'remove-expired-stored-object';
|
||||
|
||||
private const string LAST_DELETED_KEY = 'last-deleted-stored-object-id';
|
||||
|
||||
public function __construct(
|
||||
private readonly ClockInterface $clock,
|
||||
private readonly MessageBusInterface $messageBus,
|
||||
private readonly StoredObjectRepositoryInterface $storedObjectRepository
|
||||
private ClockInterface $clock,
|
||||
private MessageBusInterface $messageBus,
|
||||
private StoredObjectRepositoryInterface $storedObjectRepository
|
||||
) {}
|
||||
|
||||
public function canRun(?CronJobExecution $cronJobExecution): bool
|
||||
|
Reference in New Issue
Block a user