Conditions | 2 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
36 | public function loadData(): Closure |
||
37 | { |
||
38 | return function ($viewName, $view) { |
||
39 | // tu código aquí |
||
40 | // loadData() se ejecuta tras el loadData() del controlador. Recibe los parámetros $viewName y $view. |
||
41 | switch ($viewName) { |
||
42 | case 'ListImpuestoProducto': |
||
43 | $where = [new DataBaseWhere('idproducto', $this->getModel()->primaryColumnValue())]; |
||
44 | $view->loadData('', $where); |
||
45 | break; |
||
46 | |||
47 | default: |
||
48 | parent::loadData($viewName, $view); |
||
49 | break; |
||
50 | } |
||
54 |
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:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths