Completed
Pull Request — master (#16)
by Jan
26:20 queued 11:22
created

GetJobsEvent::getQueues()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Phloppy\Event;
4
5
use Symfony\Component\EventDispatcher\Event;
6
7
class GetJobsEvent extends Event
8
{
9
10
    const ID = 'job.getjob';
11
12
    /**
13
     * @var string[]
14
     */
15
    private $queues;
16
17
18
    /**
19
     * @param string[] $queues
20
     * @param          $count
21
     * @param          $timeout
22
     */
23
    public function __construct(array $queues, $count, $timeout)
0 ignored issues
show
Unused Code introduced by
The parameter $count is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $timeout is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
24
    {
25
        $this->queues = $queues;
26
    }
27
28
29
    /**
30
     * @return string[]
31
     */
32
    public function getQueues()
33
    {
34
        return $this->queues;
35
    }
36
37
}