| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class UserDetails |
||
| 14 | { |
||
| 15 | protected string $apiKey; |
||
| 16 | protected string $baseUrl; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Construct |
||
| 20 | */ |
||
| 21 | public function __construct(string $apiKey, string $baseUrl) |
||
| 22 | { |
||
| 23 | $this->apiKey = $apiKey; |
||
| 24 | $this->baseUrl = $baseUrl; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Get user's wallet balance |
||
| 29 | * |
||
| 30 | * @return array|null |
||
| 31 | */ |
||
| 32 | public function walletBalance(): ?array |
||
| 40 | } |
||
| 41 | |||
| 42 | } |
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