| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 11 | public function register() |
||
| 12 | { |
||
| 13 | $this->mergeConfigFrom(__DIR__ . '/../../config/json-api.php', 'json-api'); |
||
| 14 | |||
| 15 | $this->app->bind(MediaTypeGuard::class, function ($app) { |
||
|
|
|||
| 16 | return new MediaTypeGuard(config('json-api.media-type')); |
||
| 17 | }); |
||
| 18 | |||
| 19 | $this->app->bind(EncoderService::class, function ($app) { |
||
| 20 | return new EncoderService(config('json-api')); |
||
| 21 | }); |
||
| 22 | } |
||
| 23 | |||
| 32 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.