Total Complexity | 2 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class RateRepository extends BaseRepository |
||
20 | { |
||
21 | /** |
||
22 | * Fields that can be searched by. |
||
23 | * |
||
24 | * @var array |
||
25 | */ |
||
26 | protected $fieldSearchable = [ |
||
27 | 'rate', |
||
28 | 'name', |
||
29 | 'compound', |
||
30 | 'shipping', |
||
31 | 'type', |
||
32 | ]; |
||
33 | |||
34 | /** |
||
35 | * Return searchable fields. |
||
36 | * |
||
37 | * @return array |
||
38 | */ |
||
39 | public function getFieldsSearchable() |
||
40 | { |
||
41 | return $this->fieldSearchable; |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * Configure the Model. |
||
46 | * |
||
47 | * @return \PWWEB\Localisation\Models\Tax\Rate |
||
48 | **/ |
||
49 | public function model() |
||
52 | } |
||
53 | } |
||
54 |
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