diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/BackgroundJob/TimedJob.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/public/BackgroundJob/TimedJob.php b/lib/public/BackgroundJob/TimedJob.php index 8797b8dd63b..01eecd43379 100644 --- a/lib/public/BackgroundJob/TimedJob.php +++ b/lib/public/BackgroundJob/TimedJob.php @@ -42,10 +42,12 @@ abstract class TimedJob extends Job { /** * set the interval for the job * + * @param int $seconds the time to pass between two runs of the same job in seconds + * * @since 15.0.0 */ - public function setInterval(int $interval) { - $this->interval = $interval; + public function setInterval(int $seconds) { + $this->interval = $seconds; } /** |