| Conditions | 3 |
| Paths | 4 |
| Total Lines | 20 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 14 | public function boot(\Illuminate\Routing\Router $router) |
||
| 15 | { |
||
| 16 | if (!$this->app->routesAreCached()) { |
||
|
|
|||
| 17 | require __DIR__.'/Routes/web.php'; |
||
| 18 | } |
||
| 19 | |||
| 20 | $this->publishes([ |
||
| 21 | __DIR__.'/Config/laralang.php' => config_path('laralang.php'), |
||
| 22 | __DIR__.'/Assets' => public_path('vendor/Aitor24/Laralang'), |
||
| 23 | ], 'laralang_pkg'); |
||
| 24 | |||
| 25 | $router->aliasMiddleware('laralang.middleware', config('laralang.default.middleware')); |
||
| 26 | |||
| 27 | $this->loadTranslationsFrom(__DIR__.'/translations', 'laralang'); |
||
| 28 | if (config('laralang.default.migrations')) { |
||
| 29 | $this->loadMigrationsFrom(__DIR__.'/Migrations', 'laralang'); |
||
| 30 | } |
||
| 31 | |||
| 32 | $this->loadViewsFrom(__DIR__.'/Views', 'laralang'); |
||
| 33 | } |
||
| 34 | |||
| 45 |
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.