This class seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
16
{
17
/**
18
* @var Cerbere
19
*/
20
protected $cerbere;
21
22
/**
23
* @var Job
24
*/
25
protected $job;
26
27
/**
28
* @var ActionInterface
29
*/
30
protected $action;
31
32
/**
33
* @var Project[]
34
*/
35
protected $projects;
36
37
/**
38
* @param Cerbere $cerbere
39
* @param Job $job
40
* @param ActionInterface $action
41
* @param Project[] $projects
42
*/
43
public function __construct(Cerbere $cerbere, Job $job, ActionInterface $action, $projects = array())
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.