| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class CountryRepository extends BaseRepository |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var array |
||
| 24 | */ |
||
| 25 | protected $fieldSearchable = [ |
||
| 26 | 'name', |
||
| 27 | 'iso', |
||
| 28 | 'ioc', |
||
| 29 | 'active' |
||
| 30 | ]; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Return searchable fields. |
||
| 34 | * |
||
| 35 | * @return array |
||
| 36 | */ |
||
| 37 | public function getFieldsSearchable() |
||
| 38 | { |
||
| 39 | return $this->fieldSearchable; |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Configure the Model. |
||
| 44 | **/ |
||
| 45 | public function model() |
||
| 48 | } |
||
| 49 | } |
||
| 50 |
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