diff options
Diffstat (limited to 'lib/private/TextToImage/Db/TaskMapper.php')
-rw-r--r-- | lib/private/TextToImage/Db/TaskMapper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/TextToImage/Db/TaskMapper.php b/lib/private/TextToImage/Db/TaskMapper.php index 4c0357884e3..b34c749eb66 100644 --- a/lib/private/TextToImage/Db/TaskMapper.php +++ b/lib/private/TextToImage/Db/TaskMapper.php @@ -91,7 +91,7 @@ class TaskMapper extends QBMapper { */ public function deleteOlderThan(int $timeout): array { $datetime = $this->timeFactory->getDateTime(); - $datetime->sub(new \DateInterval('PT'.$timeout.'S')); + $datetime->sub(new \DateInterval('PT' . $timeout . 'S')); $qb = $this->db->getQueryBuilder(); $qb->select('*') ->from($this->tableName) |