| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | public function register() |
||
| 25 | { |
||
| 26 | $this->app->singleton(AlmaClient::class, function (Application $app) { |
||
|
|
|||
| 27 | return new AlmaClient(config('services.alma.key'), 'eu'); |
||
| 28 | }); |
||
| 29 | $this->app->singleton(AlmaUsers::class, function (Application $app) { |
||
| 30 | return new AlmaUsers($app->make(AlmaClient::class)); |
||
| 31 | }); |
||
| 47 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.