| Total Complexity | 4 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class LaravelVTPassServiceProvider extends ServiceProvider |
||
| 17 | { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Indicates if loading of the provider is deferred. |
||
| 21 | * |
||
| 22 | * @var bool |
||
| 23 | */ |
||
| 24 | protected $defer = false; |
||
| 25 | |||
| 26 | |||
| 27 | /** |
||
| 28 | * Boot the service provider. |
||
| 29 | */ |
||
| 30 | public function boot() |
||
| 31 | { |
||
| 32 | if (function_exists('config_path') && $this->app->runningInConsole()) { |
||
|
|
|||
| 33 | $this->publishes([ |
||
| 34 | __DIR__ . '/../config/config.php' => config_path('vtpass.php'), |
||
| 35 | ], 'config'); |
||
| 36 | |||
| 37 | $this->commands([ |
||
| 38 | InstallLaravelVTPass::class, |
||
| 39 | ]); |
||
| 40 | |||
| 41 | } |
||
| 42 | } |
||
| 43 | |||
| 44 | |||
| 45 | /** |
||
| 46 | * Register the service provider. |
||
| 47 | * |
||
| 48 | * @return void |
||
| 49 | */ |
||
| 50 | public function register() |
||
| 63 | ); |
||
| 64 | }); |
||
| 68 |
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.