| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function register() |
||
| 12 | { |
||
| 13 | $this->app->bind('drip', function ($app) { |
||
|
1 ignored issue
–
show
|
|||
| 14 | return new LaravelDrip( |
||
| 15 | config('laravel_drip.drip_account_id'), |
||
|
1 ignored issue
–
show
|
|||
| 16 | config('laravel_drip.drip_api_key'), |
||
| 17 | config('laravel_drip.drip_user_agent') |
||
| 18 | ); |
||
| 19 | }); |
||
| 20 | $this->app->alias('drip', \Glorand\Drip\Laravel\DripContract::class); |
||
| 21 | } |
||
| 40 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.