| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | class LaraStartServiceProvider extends ServiceProvider |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Bootstrap services. |
||
| 15 | * |
||
| 16 | * @return void |
||
| 17 | * @throws \ReflectionException |
||
| 18 | */ |
||
| 19 | public function boot() |
||
| 20 | { |
||
| 21 | ResponseFactory::mixin(new ResponseMixin()); |
||
| 22 | |||
| 23 | $this->mergeConfigFrom(__DIR__.'/../../config/larastart.php', 'larastart'); |
||
|
|
|||
| 24 | |||
| 25 | $this->publishes([ |
||
| 26 | __DIR__.'/../../config/larastart.php' => config_path('larastart.php'), |
||
| 27 | ], 'larastart-config'); |
||
| 28 | |||
| 29 | $this->commands([ |
||
| 30 | MakeServiceCommand::class, |
||
| 31 | ]); |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Register services. |
||
| 36 | * |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | public function register() |
||
| 42 | } |
||
| 43 | } |
||
| 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.