| Total Complexity | 4 | 
| Total Lines | 47 | 
| Duplicated Lines | 0 % | 
| Changes | 3 | ||
| Bugs | 2 | Features | 0 | 
| 1 | <?php  | 
            ||
| 11 | class HistoryController extends Controller  | 
            ||
| 12 | { | 
            ||
| 13 | /** @var Electrum */  | 
            ||
| 14 | protected $electrum;  | 
            ||
| 15 | |||
| 16 | /**  | 
            ||
| 17 | * HistoryController constructor.  | 
            ||
| 18 | *  | 
            ||
| 19 | * @param Electrum $electrum  | 
            ||
| 20 | */  | 
            ||
| 21 | public function __construct(Electrum $electrum)  | 
            ||
| 22 |     { | 
            ||
| 23 | $this->electrum = $electrum;  | 
            ||
| 24 | }  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * Get the wallet history.  | 
            ||
| 28 | *  | 
            ||
| 29 | * @return \Illuminate\Http\JsonResponse  | 
            ||
| 30 | */  | 
            ||
| 31 | public function index()  | 
            ||
| 32 |     { | 
            ||
| 33 | return response()->json($this->electrum->getHistory());  | 
            ||
| 34 | }  | 
            ||
| 35 | |||
| 36 | /**  | 
            ||
| 37 | * Get the history for a specific address.  | 
            ||
| 38 | *  | 
            ||
| 39 | * @param $address  | 
            ||
| 40 | *  | 
            ||
| 41 | * @return \Illuminate\Http\JsonResponse  | 
            ||
| 42 | */  | 
            ||
| 43 | public function show($address)  | 
            ||
| 46 | }  | 
            ||
| 47 | |||
| 48 | /**  | 
            ||
| 49 | * Get transaction details.  | 
            ||
| 50 | *  | 
            ||
| 51 | * @param $txid  | 
            ||
| 52 | *  | 
            ||
| 53 | * @return object  | 
            ||
| 54 | */  | 
            ||
| 55 | public function details($txid)  | 
            ||
| 58 | }  | 
            ||
| 59 | }  | 
            ||
| 60 | 
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