HopekellDev /
Laravel-Confirmident
| 1 | <?php |
||||
| 2 | |||||
| 3 | namespace HopekellDev\Confirmident; |
||||
| 4 | |||||
| 5 | use Illuminate\Support\Facades\Log; |
||||
|
0 ignored issues
–
show
|
|||||
| 6 | use Illuminate\Support\Facades\Http; |
||||
|
0 ignored issues
–
show
The type
Illuminate\Support\Facades\Http was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||||
| 7 | use HopekellDev\Confirmident\Helpers\Nin; |
||||
| 8 | use HopekellDev\Confirmident\Helpers\Bvn; |
||||
| 9 | |||||
| 10 | /** |
||||
| 11 | * Confirmident's Identity Verification laravel package |
||||
| 12 | * @author Hope Ezenwa- Hopekell <[email protected]> |
||||
| 13 | * @version 1 |
||||
| 14 | **/ |
||||
| 15 | |||||
| 16 | class Confirmident |
||||
| 17 | { |
||||
| 18 | protected $apiKey; |
||||
| 19 | protected $baseUrl; |
||||
| 20 | |||||
| 21 | public function __construct() |
||||
| 22 | { |
||||
| 23 | $this->apiKey = config('confirmident.api_key'); |
||||
|
0 ignored issues
–
show
The function
config was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||
| 24 | $this->baseUrl = config('confirmident.base_url', 'https://confirmident.com.ng/api'); |
||||
| 25 | } |
||||
| 26 | |||||
| 27 | /** |
||||
| 28 | * Banks |
||||
| 29 | * @return NIN |
||||
| 30 | */ |
||||
| 31 | public function nin() |
||||
| 32 | { |
||||
| 33 | $nin = new Nin($this->apiKey, $this->baseUrl); |
||||
| 34 | return $nin; |
||||
| 35 | } |
||||
| 36 | |||||
| 37 | /** |
||||
| 38 | * Banks |
||||
| 39 | * @return BVN |
||||
| 40 | */ |
||||
| 41 | public function bvn() |
||||
| 42 | { |
||||
| 43 | $bvn = new Bvn($this->apiKey, $this->baseUrl); |
||||
| 44 | return $bvn; |
||||
| 45 | } |
||||
| 46 | } |
||||
| 47 |
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