Issues (7)

src/VodafoneServiceProvider.php (1 issue)

Severity
1
<?php
2
3
namespace NotificationChannels\Vodafone;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class VodafoneServiceProvider extends ServiceProvider
8
{
9
    protected $defer = true;
10
11
    /**
12
     * Bootstrap the application services.
13
     */
14
    public function boot()
15
    {
16
    }
17
18
    /**
19
     * Register the application services.
20
     */
21
    public function register()
22
    {
23
        $this->app->bind(VodafoneClient::class, function () {
24
            return new VodafoneClient(config('services.vodafone.username'), config('services.vodafone.password'));
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 ignore-call  annotation

24
            return new VodafoneClient(/** @scrutinizer ignore-call */ config('services.vodafone.username'), config('services.vodafone.password'));
Loading history...
25
        });
26
    }
27
}
28