| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | 21 | public function register() |
|
| 21 | { |
||
| 22 | 21 | $this->mergeConfigFrom(__DIR__ . '/../config/sixconnex.php', 'sixconnex'); |
|
| 23 | |||
| 24 | 21 | $this->app->bind(SixConnexApi::class, function ($app) { |
|
|
|
|||
| 25 | 10 | return new SixConnexApi( |
|
| 26 | 10 | config('sixconnex.client_domain'), |
|
| 27 | 10 | config('sixconnex.api_username'), |
|
| 28 | 10 | config('sixconnex.api_password'), |
|
| 29 | 10 | config('sixconnex.options'), |
|
| 30 | 10 | ); |
|
| 34 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.