Document that the TimedJob interval is in seconds

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2021-03-26 09:13:05 +01:00
parent fbbcf26099
commit 389623a910
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
1 changed files with 4 additions and 2 deletions

View File

@ -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;
}
/**