| Conditions | 5 |
| Paths | 16 |
| Total Lines | 32 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Rap2hpoutre\LaravelLogViewer; |
||
| 19 | public function boot() |
||
| 20 | { |
||
| 21 | if (method_exists($this, 'package')) |
||
| 22 | { |
||
| 23 | $this->package('rap2hpoutre/laravel-log-viewer', 'laravel-log-viewer', __DIR__ . '/../../'); |
||
|
|
|||
| 24 | } |
||
| 25 | |||
| 26 | if (method_exists($this, 'loadViewsFrom')) |
||
| 27 | { |
||
| 28 | $this->loadViewsFrom(__DIR__.'/../../views', 'laravel-log-viewer'); |
||
| 29 | } |
||
| 30 | |||
| 31 | if (method_exists($this,'loadTranslationsFrom')) |
||
| 32 | { |
||
| 33 | $this->loadTranslationsFrom(__DIR__.'/../../lang', 'laravel-log-viewer'); |
||
| 34 | } |
||
| 35 | |||
| 36 | if (method_exists($this,'publishes')) |
||
| 37 | { |
||
| 38 | $this->publishes([ |
||
| 39 | |||
| 40 | __DIR__.'/../../lang' => resource_path('lang/vendor/laravel-log-viewer'), //Copy lang folder |
||
| 41 | __DIR__.'/../../views' => resource_path('views/vendor/laravel-log-viewer'), //Copy views folder |
||
| 42 | __DIR__.'/../../config/laravel-log-viewer.php' => config_path('laravel-log-viewer.php'), //Copy config file |
||
| 43 | |||
| 44 | |||
| 45 | ]); |
||
| 46 | } |
||
| 47 | |||
| 48 | |||
| 49 | |||
| 50 | } |
||
| 51 | |||
| 75 |
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.