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...
9
{
10
/**
11
* @var array
12
*/
13
protected $actionConfiguration;
14
15
/**
16
* @var string
17
*/
18
protected $actionName;
19
20
/**
21
* @var AdminInterface
22
*/
23
protected $admin;
24
25
/**
26
* ActionCreateEvent constructor.
27
*
28
* @param string $actionName
29
* @param array $actionConfiguration
30
* @param AdminInterface $admin
31
*/
32
public function __construct($actionName, array $actionConfiguration, AdminInterface $admin)
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.