| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | public function register() |
||
| 33 | {
|
||
| 34 | if(is_dir($vendor = __DIR__.'/../vendor')){
|
||
| 35 | require_once $vendor.'/autoload.php'; |
||
| 36 | } |
||
| 37 | |||
| 38 | $this->mergeConfigFrom( |
||
| 39 | __DIR__.'/config.php', 'gopay' |
||
| 40 | ); |
||
| 41 | |||
| 42 | $this->app->singleton('GopaySDK', function ($app) {
|
||
|
|
|||
| 43 | return new GoPaySDK(); |
||
| 44 | }); |
||
| 45 | } |
||
| 46 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.