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