| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class MenuItem extends Model |
||
| 9 | { |
||
| 10 | protected $table = 'menu_items'; |
||
| 11 | // |
||
| 12 | protected $fillable = [ |
||
| 13 | 'title', 'slug', 'order', 'parent_id', |
||
| 14 | ]; |
||
| 15 | |||
| 16 | public function children() |
||
| 19 | } |
||
| 20 | |||
| 21 | // recursive, loads all descendants |
||
| 22 | public function childrens() |
||
| 25 | } |
||
| 26 | |||
| 27 | public function settings() |
||
| 32 |
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