| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 7 | ||
| Bugs | 1 | Features | 2 |
| 1 | <?php |
||
| 34 | public function register() |
||
| 35 | { |
||
| 36 | // Register the 'Api' class using the container so that we can resolve it accordingly. |
||
| 37 | $this->app['vinelab.api'] = $this->app->share(function () { |
||
|
|
|||
| 38 | return $this->app->make('Vinelab\Api\Api'); |
||
| 39 | }); |
||
| 40 | // Shortcut so developers don't need to add an alias in app/config/app.php |
||
| 41 | $this->app->booting(function () { |
||
| 42 | $loader = \Illuminate\Foundation\AliasLoader::getInstance(); |
||
| 43 | $loader->alias('Api', 'Vinelab\Api\ApiFacadeAccessor'); |
||
| 44 | }); |
||
| 45 | } |
||
| 46 | |||
| 57 |
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.