| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 7 | class LaravelDataTablesServiceProvider extends ServiceProvider |
||
| 8 | { |
||
| 9 | //TODO: ask the user for the preset (react/vue/angular) |
||
| 10 | public function register() |
||
| 11 | { |
||
| 12 | if ($this->app->runningInConsole()) { |
||
|
|
|||
| 13 | $this->registerConsoleCommands(); |
||
| 14 | } |
||
| 15 | |||
| 16 | $this->registerPublishables(); |
||
| 17 | } |
||
| 18 | |||
| 19 | public function registerPublishables() |
||
| 25 | } |
||
| 26 | |||
| 27 | protected function registerConsoleCommands() |
||
| 30 | } |
||
| 31 | } |
||
| 32 |
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.