| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 19 | 
| Code Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 46 | public function getDiscoverApi($type, $count = 20, $offset = 0, $needItemList = true, $useRecommend = false)  | 
            ||
| 47 |     { | 
            ||
| 48 | //add settings  | 
            ||
| 49 | $this->ModelSettings();  | 
            ||
| 50 | |||
| 51 | $body = [  | 
            ||
| 52 | 'offset' => $offset,  | 
            ||
| 53 | 'count' => $count,  | 
            ||
| 54 | 'needItemList' => $needItemList,  | 
            ||
| 55 | 'useRecommend' => $useRecommend,  | 
            ||
| 56 | 'keyWord' => '',  | 
            ||
| 57 | 'discoverType' => 0,  | 
            ||
| 58 | ];  | 
            ||
| 59 | |||
| 60 |         $body = array_merge($body, config('tiktok.primary_body_api')); | 
            ||
| 61 | |||
| 62 | $response = $this->getResponse($this->url_api . $type, $body);  | 
            ||
| 63 | |||
| 64 | return $response;  | 
            ||
| 65 | }  | 
            ||
| 67 | 
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