Passed
Push — master ( eee053...2b5061 )
by Joe Nilson
04:47
created

EditNCFTipo::execPreviousAction()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 0
nc 1
nop 1
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Copyright (C) 2019 joenilson.
4
 *
5
 * This library is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU Lesser General Public
7
 * License as published by the Free Software Foundation; either
8
 * version 3 of the License, or (at your option) any later version.
9
 *
10
 * This library is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13
 * Lesser General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU Lesser General Public
16
 * License along with this library; if not, write to the Free Software
17
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
 * MA 02110-1301  USA
19
 */
20
21
namespace FacturaScripts\Plugins\fsRepublicaDominicana\Controller;
22
23
use FacturaScripts\Core\Lib\ExtendedController\EditController;
1 ignored issue
show
Bug introduced by
The type FacturaScripts\Core\Lib\...ntroller\EditController was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
24
25
/**
26
 * Description of EditNCFRango
27
 *
28
 * @author joenilson
29
 */
30
class EditNCFTipo extends EditController
31
{
32
    public function getModelClassName()
33
    {
34
        return 'NCFTipo';
35
    }
36
    
37
    public function getPageData()
38
    {
39
        $pagedata = parent::getPageData();
40
        $pagedata['menu'] = 'RepublicaDominicana';
41
        $pagedata['title'] = 'edit-ncf-type';
42
        $pagedata['icon'] = 'fas fa-tasks';
43
44
        return $pagedata;
45
    }
46
}
47