aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/BackgroundJob
diff options
context:
space:
mode:
authorJulien Veyssier <julien-nc@posteo.net>2024-04-09 11:12:48 +0200
committerJulien Veyssier <julien-nc@posteo.net>2024-05-02 16:43:42 +0200
commitd967151f520ba6c860ed9a727e3363ec04a6506d (patch)
treea630df77e8c5f84c9b7a627ff18cf05723099f4f /lib/private/BackgroundJob
parent1acc57b5c03b80ad5b6b5df7aff9df0fef83f14f (diff)
downloadnextcloud-server-d967151f520ba6c860ed9a727e3363ec04a6506d.tar.gz
nextcloud-server-d967151f520ba6c860ed9a727e3363ec04a6506d.zip
fix(bg-jobs): review adjustments
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Diffstat (limited to 'lib/private/BackgroundJob')
-rw-r--r--lib/private/BackgroundJob/JobList.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/BackgroundJob/JobList.php b/lib/private/BackgroundJob/JobList.php
index 26bc198c6e0..bc3416e3528 100644
--- a/lib/private/BackgroundJob/JobList.php
+++ b/lib/private/BackgroundJob/JobList.php
@@ -211,8 +211,7 @@ class JobList implements IJobList {
}
/**
- * Get the next job in the list
- * @return ?IJob the next job to run. Beware that this object may be a singleton and may be modified by the next call to buildJob.
+ * @inheritDoc
*/
public function getNext(bool $onlyTimeSensitive = false, ?array $jobClasses = null): ?IJob {
$query = $this->connection->getQueryBuilder();