| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Cornford\Googlitics; |
||
| 20 | public function boot() |
||
| 21 | { |
||
| 22 | $this->loadViewsFrom(base_path('resources/views/cornford/googlitics'), 'googlitics'); |
||
| 23 | |||
| 24 | $this->publishes( |
||
| 25 | [ |
||
| 26 | __DIR__ . '/../../config/config.php' => config_path('googlitics.php'), |
||
| 27 | __DIR__ . '/../../views' => base_path('resources/views/cornford/googlitics') |
||
| 28 | ], |
||
| 29 | 'googlitics' |
||
| 30 | ); |
||
| 31 | } |
||
| 32 | |||
| 64 |
If you access a property on an interface, you most likely code against a concrete implementation of the interface.
Available Fixes
Adding an additional type check:
Changing the type hint: