| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Nwidart\DbExporter; |
||
| 30 | public function register() |
||
| 31 | { |
||
| 32 | |||
| 33 | $this->app['DbMigrations'] = $this->app->share(function() |
||
|
|
|||
| 34 | { |
||
| 35 | $connType = config('database.default'); |
||
| 36 | $database = config('database.connections.' .$connType ); |
||
| 37 | return new DbMigrations($database); |
||
| 38 | }); |
||
| 39 | |||
| 40 | $this->app->booting(function() |
||
| 41 | { |
||
| 42 | $loader = \Illuminate\Foundation\AliasLoader::getInstance(); |
||
| 43 | $loader->alias('DbMigrations', 'Nwidart\DbExporter\Facades\DbMigrations'); |
||
| 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.