| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 21 | public function register() |
||
| 22 | { |
||
| 23 | $this->app->configure('json-api'); |
||
| 24 | |||
| 25 | $this->mergeConfigFrom(__DIR__ . '/../../config/json-api.php', 'json-api'); |
||
| 26 | |||
| 27 | $this->app->bind(MediaTypeGuard::class, function ($app) { |
||
| 28 | return new MediaTypeGuard(config('json-api.media-type')); |
||
| 29 | }); |
||
| 30 | |||
| 31 | $this->app->bind(EncoderService::class, function ($app) { |
||
| 32 | return new EncoderService(config('json-api')); |
||
| 33 | }); |
||
| 34 | } |
||
| 35 | |||
| 44 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.