Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
9b10d354
Unverified
Commit
9b10d354
authored
4 years ago
by
Daniel Kesselberg
Browse files
Options
Downloads
Patches
Plain Diff
Fix wrong phpdoc for execute method
Signed-off-by:
Daniel Kesselberg
<
mail@danielkesselberg.de
>
parent
5e985c61
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/private/BackgroundJob/Job.php
+2
-1
2 additions, 1 deletion
lib/private/BackgroundJob/Job.php
lib/private/BackgroundJob/TimedJob.php
+2
-1
2 additions, 1 deletion
lib/private/BackgroundJob/TimedJob.php
lib/public/BackgroundJob/IJob.php
+1
-1
1 addition, 1 deletion
lib/public/BackgroundJob/IJob.php
with
5 additions
and
3 deletions
lib/private/BackgroundJob/Job.php
+
2
−
1
View file @
9b10d354
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
namespace
OC\BackgroundJob
;
namespace
OC\BackgroundJob
;
use
OCP\BackgroundJob\IJob
;
use
OCP\BackgroundJob\IJob
;
use
OCP\BackgroundJob\IJobList
;
use
OCP\ILogger
;
use
OCP\ILogger
;
abstract
class
Job
implements
IJob
{
abstract
class
Job
implements
IJob
{
...
@@ -47,7 +48,7 @@ abstract class Job implements IJob {
...
@@ -47,7 +48,7 @@ abstract class Job implements IJob {
protected
$argument
;
protected
$argument
;
/**
/**
* @param JobList $jobList
* @param
I
JobList $jobList
* @param ILogger|null $logger
* @param ILogger|null $logger
*/
*/
public
function
execute
(
$jobList
,
ILogger
$logger
=
null
)
{
public
function
execute
(
$jobList
,
ILogger
$logger
=
null
)
{
...
...
This diff is collapsed.
Click to expand it.
lib/private/BackgroundJob/TimedJob.php
+
2
−
1
View file @
9b10d354
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
namespace
OC\BackgroundJob
;
namespace
OC\BackgroundJob
;
use
OCP\BackgroundJob\IJobList
;
use
OCP\ILogger
;
use
OCP\ILogger
;
/**
/**
...
@@ -49,7 +50,7 @@ abstract class TimedJob extends Job {
...
@@ -49,7 +50,7 @@ abstract class TimedJob extends Job {
/**
/**
* run the job if
* run the job if
*
*
* @param JobList $jobList
* @param
I
JobList $jobList
* @param ILogger|null $logger
* @param ILogger|null $logger
*/
*/
public
function
execute
(
$jobList
,
ILogger
$logger
=
null
)
{
public
function
execute
(
$jobList
,
ILogger
$logger
=
null
)
{
...
...
This diff is collapsed.
Click to expand it.
lib/public/BackgroundJob/IJob.php
+
1
−
1
View file @
9b10d354
...
@@ -38,7 +38,7 @@ interface IJob {
...
@@ -38,7 +38,7 @@ interface IJob {
/**
/**
* Run the background job with the registered argument
* Run the background job with the registered argument
*
*
* @param
\OCP\BackgroundJob\
IJobList $jobList The job list that manages the state of this job
* @param IJobList $jobList The job list that manages the state of this job
* @param ILogger|null $logger
* @param ILogger|null $logger
* @since 7.0.0
* @since 7.0.0
*/
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment