Code Duplication    Length = 11-11 lines in 2 locations

src/controllers/HeldPaymentsController.php 1 location

@@ 30-40 (lines=11) @@
27
        return Change::class;
28
    }
29
30
    public function behaviors()
31
    {
32
        return array_merge(parent::behaviors(), [
33
            [
34
                'class' => EasyAccessControl::class,
35
                'actions' => [
36
                    '*' => 'resell',
37
                ],
38
            ],
39
        ]);
40
    }
41
42
    public function actions()
43
    {

src/controllers/TargetController.php 1 location

@@ 11-21 (lines=11) @@
8
9
class TargetController extends CrudController
10
{
11
    public function behaviors()
12
    {
13
        return array_merge(parent::behaviors(), [
14
            [
15
                'class' => EasyAccessControl::class,
16
                'actions' => [
17
                    '*' => ['plan.read', 'price.read'],
18
                ],
19
            ],
20
        ]);
21
    }
22
23
    public function actions()
24
    {