Conditions | 4 |
Paths | 8 |
Total Lines | 20 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php namespace Rap2hpoutre\LaravelLogViewer; |
||
19 | public function boot() |
||
20 | { |
||
21 | if (method_exists($this, 'package')) { |
||
22 | $this->package('rap2hpoutre/laravel-log-viewer', 'laravel-log-viewer', __DIR__ . '/../../'); |
||
|
|||
23 | } |
||
24 | |||
25 | if (method_exists($this, 'loadViewsFrom')) { |
||
26 | $this->loadViewsFrom(__DIR__.'/../../views', 'laravel-log-viewer'); |
||
27 | } |
||
28 | |||
29 | if (method_exists($this, 'publishes')) { |
||
30 | $this->publishes([ |
||
31 | __DIR__.'/../../views' => base_path('/resources/views/vendor/laravel-log-viewer'), |
||
32 | ], 'views'); |
||
33 | $this->publishes([ |
||
34 | __DIR__.'/../../config/logviewer.php' => $this->config_path('logviewer.php'), |
||
35 | ]); |
||
36 | |||
37 | } |
||
38 | } |
||
39 | |||
72 |
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.