Passed
Push — master ( 9a172a...9c608c )
by Joe Nilson
03:46 queued 13s
created

EditImpuestoProducto::getPageData()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 1
Metric Value
cc 1
eloc 4
c 1
b 1
f 1
nc 1
nop 0
dl 0
loc 6
rs 10
1
<?php
2
namespace FacturaScripts\Plugins\fsRepublicaDominicana\Controller;
3
4
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...
5
6
/**
7
 * Description of EditImpuestoProducto
8
 */
9
class EditImpuestoProducto extends EditController
10
{
11
    public function getModelClassName(): string
12
    {
13
        return "ImpuestoProducto";
14
    }
15
16
    public function getPageData(): array
17
    {
18
        $data = parent::getPageData();
19
        $data["title"] = "ImpuestoProducto";
20
        $data["icon"] = "fas fa-search";
21
        return $data;
22
    }
23
}
24