| Total Complexity | 5 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 9 | class EditProducto |
||
| 10 | { |
||
| 11 | public function createViews(): Closure |
||
| 18 | }; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function execAfterAction(): Closure |
||
| 24 | // tu código aquí |
||
| 25 | // execAfterAction() se ejecuta tras el execAfterAction() del controlador. |
||
| 26 | }; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function execPreviousAction(): Closure |
||
| 30 | { |
||
| 31 | return function ($action) { |
||
| 32 | // tu código aquí |
||
| 33 | // execPreviousAction() se ejecuta después del execPreviousAction() del controlador. |
||
| 34 | // Si devolvemos false detenemos la ejecución del controlador. |
||
| 35 | }; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function loadData(): Closure |
||
| 52 | } |
||
| 53 | }; |
||
| 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