| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function register() |
||
| 32 | { |
||
| 33 | // Automatically apply the package configuration |
||
| 34 | $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'vtung'); |
||
| 35 | |||
| 36 | // Register the main class to use with the facade |
||
| 37 | $this->app->singleton('vtung', function ($app) { |
||
|
|
|||
| 38 | $baseUrl = config('vtung.base_url'); |
||
| 39 | $instanceName = 'vtung'; |
||
| 40 | |||
| 41 | return new VtuDotNG( |
||
| 42 | $baseUrl, |
||
| 43 | $instanceName, |
||
| 44 | config('vtung') |
||
| 45 | ); |
||
| 46 | }); |
||
| 47 | |||
| 48 | } |
||
| 49 | } |
||
| 50 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.