diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-12-20 14:29:44 +0100 |
---|---|---|
committer | Julien Veyssier <julien-nc@posteo.net> | 2024-05-02 16:43:41 +0200 |
commit | 352d79deeeb12e4544d1b7e9f791a3c11afc12e4 (patch) | |
tree | f8a38cb32467be425d9a4a9a9ff5c03f539175ae /lib/private/BackgroundJob | |
parent | 993398b88a2dbb148b008b25abba3f6761dd0668 (diff) | |
download | nextcloud-server-352d79deeeb12e4544d1b7e9f791a3c11afc12e4.tar.gz nextcloud-server-352d79deeeb12e4544d1b7e9f791a3c11afc12e4.zip |
fix(bg-jobs): fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib/private/BackgroundJob')
-rw-r--r-- | lib/private/BackgroundJob/JobList.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/BackgroundJob/JobList.php b/lib/private/BackgroundJob/JobList.php index 36f46d7bad7..9d54fa45bfc 100644 --- a/lib/private/BackgroundJob/JobList.php +++ b/lib/private/BackgroundJob/JobList.php @@ -448,11 +448,14 @@ class JobList implements IJobList { $result = $query->executeQuery(); $jobs = []; + while (($row = $result->fetch()) !== false) { + /** + * @var array{count:int, class:class-string} $row + */ $jobs[] = $row; } return $jobs; - } } |