Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 1 | Features | 2 |
1 | <?php |
||
8 | class GridViewServiceProvider extends ServiceProvider |
||
9 | { |
||
10 | /** |
||
11 | * Service provider for grid. |
||
12 | * |
||
13 | * @return void |
||
14 | */ |
||
15 | public function boot() |
||
16 | { |
||
17 | $this->loadViewsFrom(__DIR__ . '/../resources/views', 'churakovmike_easygrid'); |
||
|
|||
18 | $this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'churakovmike_easygrid'); |
||
19 | require_once __DIR__ . '/functions.php'; |
||
20 | Blade::directive('easy_grid', function ($config) { |
||
21 | return "<?php echo grid($config) ?>"; |
||
22 | }); |
||
23 | } |
||
24 | |||
25 | public function register() |
||
27 | // |
||
28 | } |
||
30 |
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.