diff options
Diffstat (limited to 'lib/private/backgroundjob/queuedjob.php')
-rw-r--r-- | lib/private/backgroundjob/queuedjob.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/backgroundjob/queuedjob.php b/lib/private/backgroundjob/queuedjob.php index 21ee03f478d..c4cf8b0e5e0 100644 --- a/lib/private/backgroundjob/queuedjob.php +++ b/lib/private/backgroundjob/queuedjob.php @@ -21,6 +21,7 @@ */ namespace OC\BackgroundJob; +use OCP\ILogger; /** * Class QueuedJob @@ -34,9 +35,9 @@ abstract class QueuedJob extends Job { * run the job, then remove it from the joblist * * @param JobList $jobList - * @param \OC\Log $logger + * @param ILogger $logger */ - public function execute($jobList, $logger = null) { + public function execute($jobList, ILogger $logger = null) { $jobList->remove($this, $this->argument); parent::execute($jobList, $logger); } |