diff options
author | Joas Schilling <coding@schilljs.com> | 2022-03-10 13:47:05 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-03-10 13:47:05 +0100 |
commit | 557afa7c1a51f13beb5591ffd86ee7aecae394a4 (patch) | |
tree | a050f2be99da0933eb042ea0dc11a6ebf945c1ce | |
parent | 714a5b7ae2dc5549da87275ac9cad49abfcc2513 (diff) | |
download | nextcloud-server-557afa7c1a51f13beb5591ffd86ee7aecae394a4.tar.gz nextcloud-server-557afa7c1a51f13beb5591ffd86ee7aecae394a4.zip |
Adjust since version
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | lib/public/BackgroundJob/IJob.php | 4 | ||||
-rw-r--r-- | lib/public/BackgroundJob/IJobList.php | 2 | ||||
-rw-r--r-- | lib/public/BackgroundJob/TimedJob.php | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/public/BackgroundJob/IJob.php b/lib/public/BackgroundJob/IJob.php index 3c2da42bf88..5e8d4317505 100644 --- a/lib/public/BackgroundJob/IJob.php +++ b/lib/public/BackgroundJob/IJob.php @@ -35,11 +35,11 @@ use OCP\ILogger; */ interface IJob { /** - * @since 24.0.0 + * @since 22.2.6 */ public const TIME_INSENSITIVE = 0; /** - * @since 24.0.0 + * @since 22.2.6 */ public const TIME_SENSITIVE = 1; diff --git a/lib/public/BackgroundJob/IJobList.php b/lib/public/BackgroundJob/IJobList.php index 2ce55826c8e..2a925999331 100644 --- a/lib/public/BackgroundJob/IJobList.php +++ b/lib/public/BackgroundJob/IJobList.php @@ -87,7 +87,7 @@ interface IJobList { * * @param bool $onlyTimeSensitive * @return \OCP\BackgroundJob\IJob|null - * @since 7.0.0 - In 24.0.0 parameter $onlyTimeSensitive got added + * @since 7.0.0 - In 22.2.6 parameter $onlyTimeSensitive got added */ public function getNext(bool $onlyTimeSensitive = false): ?IJob; diff --git a/lib/public/BackgroundJob/TimedJob.php b/lib/public/BackgroundJob/TimedJob.php index 579486f6fbf..cc2d42dcd32 100644 --- a/lib/public/BackgroundJob/TimedJob.php +++ b/lib/public/BackgroundJob/TimedJob.php @@ -57,7 +57,7 @@ abstract class TimedJob extends Job { * the scheduled interval, of if it is okay to be delayed until a later time. * * @return bool - * @since 24.0.0 + * @since 22.2.6 */ public function isTimeSensitive(): bool { return $this->timeSensitivity === IJob::TIME_SENSITIVE; @@ -71,7 +71,7 @@ abstract class TimedJob extends Job { * @param int $sensitivity * @psalm-param IJob::TIME_* $sensitivity * @return void - * @since 24.0.0 + * @since 22.2.6 */ public function setTimeSensitivity(int $sensitivity): void { if ($sensitivity !== IJob::TIME_SENSITIVE && |