| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | public function register() |
||
| 13 | { |
||
| 14 | $this->app->singleton(SendberryApi::class, function ($app) { |
||
|
|
|||
| 15 | $username = $this->app['config']['services.sendberry.username']; |
||
| 16 | $password = $this->app['config']['services.sendberry.password']; |
||
| 17 | $authKey = $this->app['config']['services.sendberry.auth_key']; |
||
| 18 | $from = $this->app['config']['services.sendberry.from']; |
||
| 19 | $testMode = $this->app['config']['services.sendberry.test_mode']; |
||
| 20 | $webhook = $this->app['config']['services.sendberry.webhook']; |
||
| 21 | $client = new SendberryApi($authKey, $username, $password, $from, $webhook, $testMode); |
||
| 22 | |||
| 23 | return $client; |
||
| 24 | }); |
||
| 34 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.