aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/TextToImage/Db/TaskMapper.php
diff options
context:
space:
mode:
authorKate <26026535+provokateurin@users.noreply.github.com>2024-09-19 15:49:04 +0200
committerGitHub <noreply@github.com>2024-09-19 15:49:04 +0200
commit74c38b87e513e8e8f96197c709d97881631b42b3 (patch)
treea6b6ea0825343570bacb1f8b9a6b0a7ee486fa91 /lib/private/TextToImage/Db/TaskMapper.php
parent8c60ffa0f21414e6e671c567d664a9b9e5253e26 (diff)
parent6285f550b6cd94e13e73a66894744e2ee7be32b5 (diff)
downloadnextcloud-server-74c38b87e513e8e8f96197c709d97881631b42b3.tar.gz
nextcloud-server-74c38b87e513e8e8f96197c709d97881631b42b3.zip
Merge pull request #48181 from nextcloud/chore/deps/nextcloud-coding-standard
Diffstat (limited to 'lib/private/TextToImage/Db/TaskMapper.php')
-rw-r--r--lib/private/TextToImage/Db/TaskMapper.php2
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)