Total Complexity | 4 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class WalletResponse{ |
||
9 | |||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | public $guid; |
||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | public $address; |
||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | public $label; |
||
22 | |||
23 | /** |
||
24 | * AccountResponse constructor. |
||
25 | * @param $params array|object |
||
26 | */ |
||
27 | |||
28 | public function __construct($params){ |
||
29 | if(is_null($params)) |
||
30 | return; |
||
31 | $this->guid = data_get($params,'guid'); |
||
32 | $this->address = data_get($params,'address'); |
||
33 | $this->label = data_get($params,'label'); |
||
34 | } |
||
35 | |||
36 | public function __toString(){ |
||
43 | } |
||
44 | |||
46 |
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