| Total Complexity | 4 |
| Total Lines | 65 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class AccountResponse{ |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | public $balance; |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | public $label; |
||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | public $index; |
||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | public $archived; |
||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | public $extendedPublicKey; |
||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | public $extendedPrivateKey; |
||
| 33 | /** |
||
| 34 | * @var string |
||
| 35 | */ |
||
| 36 | public $receiveIndex; |
||
| 37 | /** |
||
| 38 | * @var string |
||
| 39 | */ |
||
| 40 | public $lastUsedReceiveIndex; |
||
| 41 | /** |
||
| 42 | * @var string |
||
| 43 | */ |
||
| 44 | public $receiveAddress; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * AccountResponse constructor. |
||
| 48 | * @param $params array|object |
||
| 49 | */ |
||
| 50 | |||
| 51 | public function __construct($params){ |
||
| 52 | //echo Json::encode($params); |
||
| 53 | if(is_null($params)) |
||
| 54 | return; |
||
| 55 | $this->balance = data_get($params,'balance'); |
||
| 56 | $this->label = data_get($params,'label'); |
||
| 57 | $this->index = data_get($params,'index'); |
||
| 58 | $this->archived = data_get($params,'archived'); |
||
| 59 | $this->extendedPublicKey = data_get($params,'extendedPublicKey'); |
||
| 60 | $this->extendedPrivateKey = data_get($params,'extendedPrivateKey'); |
||
| 61 | $this->receiveIndex = data_get($params,'receiveIndex'); |
||
| 62 | $this->lastUsedReceiveIndex = data_get($params,'lastUsedReceiveIndex'); |
||
| 63 | $this->receiveAddress = data_get($params,'receiveAddress'); |
||
| 64 | } |
||
| 65 | |||
| 66 | public function __toString(){ |
||
| 73 | } |
||
| 74 | |||
| 76 |
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