| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 42 | public function register() |
||
| 43 | { |
||
| 44 | $this->app->singleton( |
||
| 45 | Smokescreen::class, |
||
| 46 | function () { |
||
| 47 | return new Smokescreen(new \Rexlabs\Smokescreen\Smokescreen(), config('smokescreen', [])); |
||
| 48 | } |
||
| 49 | ); |
||
| 50 | $this->app->alias(Smokescreen::class, 'smokescreen'); |
||
| 51 | |||
| 52 | $this->mergeConfigFrom( |
||
| 53 | __DIR__ . '/../../config/smokescreen.php', |
||
| 54 | 'smokescreen' |
||
| 55 | ); |
||
| 58 |
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.