Make adjustments based on the psalm messages

Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
This commit is contained in:
Hamid Dehnavi 2023-07-16 15:57:15 +03:30 committed by Daniel
parent e22742b910
commit e1b33e6cd0

View file

@ -43,7 +43,7 @@ class CleanupJob extends TimedJob {
}
protected function run($argument): void {
protected function run(mixed $argument): void {
$time = $this->time->getDateTime();
$time->modify('-7days');
$this->mapper->cleanUp($time->getTimestamp());