diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-12-18 10:04:30 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-12-18 10:04:30 +0100 |
commit | 0f836cfe9ea0e8fb1267f55ed2b65747c7ec318c (patch) | |
tree | e979a257f396492a913054abb221c324628b9f00 /lib/public | |
parent | 345e68cafac4db880ef5cf41f714cab9599b1f8a (diff) | |
download | nextcloud-server-0f836cfe9ea0e8fb1267f55ed2b65747c7ec318c.tar.gz nextcloud-server-0f836cfe9ea0e8fb1267f55ed2b65747c7ec318c.zip |
Make sure the interface and the implementation match
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/backgroundjob/ijoblist.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/public/backgroundjob/ijoblist.php b/lib/public/backgroundjob/ijoblist.php index 384f8b3d801..51431c42a67 100644 --- a/lib/public/backgroundjob/ijoblist.php +++ b/lib/public/backgroundjob/ijoblist.php @@ -36,7 +36,6 @@ interface IJobList { * * @param \OCP\BackgroundJob\IJob|string $job * @param mixed $argument The argument to be passed to $job->run() when the job is exectured - * @return void * @since 7.0.0 */ public function add($job, $argument = null); @@ -46,7 +45,6 @@ interface IJobList { * * @param \OCP\BackgroundJob\IJob|string $job * @param mixed $argument - * @return void * @since 7.0.0 */ public function remove($job, $argument = null); @@ -72,14 +70,14 @@ interface IJobList { /** * get the next job in the list * - * @return \OCP\BackgroundJob\IJob + * @return \OCP\BackgroundJob\IJob|null * @since 7.0.0 */ public function getNext(); /** * @param int $id - * @return \OCP\BackgroundJob\IJob + * @return \OCP\BackgroundJob\IJob|null * @since 7.0.0 */ public function getById($id); @@ -88,7 +86,6 @@ interface IJobList { * set the job that was last ran to the current time * * @param \OCP\BackgroundJob\IJob $job - * @return void * @since 7.0.0 */ public function setLastJob($job); @@ -105,7 +102,6 @@ interface IJobList { * set the lastRun of $job to now * * @param \OCP\BackgroundJob\IJob $job - * @return void * @since 7.0.0 */ public function setLastRun($job); |