Total Complexity | 5 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
17 | trait HasSettingsTable |
||
18 | { |
||
19 | /** |
||
20 | * @param string|null $path |
||
21 | * @param null $default |
||
1 ignored issue
–
show
|
|||
22 | * @return \Glorand\Model\Settings\Contracts\SettingsManagerContract |
||
23 | */ |
||
24 | public function settings(string $path = null, $default = null): SettingsManagerContract |
||
27 | } |
||
28 | |||
29 | protected function getSettingsAttribute() |
||
35 | } |
||
36 | } |
||
37 | |||
38 | protected function modelSettings(): MorphOne |
||
43 |
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