1 | <?php |
||||
2 | |||||
3 | namespace SilverStripe\FullTextSearch\Tests\BatchedProcessorTest; |
||||
4 | |||||
5 | use Symbiote\QueuedJobs\Services\QueuedJob; |
||||
6 | |||||
7 | class BatchedProcessor_QueuedJobService |
||||
8 | { |
||||
9 | protected $jobs = array(); |
||||
10 | |||||
11 | public function queueJob(QueuedJob $job, $startAfter = null, $userId = null, $queueName = null) |
||||
0 ignored issues
–
show
The parameter
$queueName is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
Loading history...
|
|||||
12 | { |
||||
13 | $this->jobs[] = array( |
||||
14 | 'job' => $job, |
||||
15 | 'startAfter' => $startAfter |
||||
16 | ); |
||||
17 | return $job; |
||||
18 | } |
||||
19 | |||||
20 | public function getJobs() |
||||
21 | { |
||||
22 | return $this->jobs; |
||||
23 | } |
||||
24 | } |
||||
25 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.