| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 12 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | 33 | public function register() |
|
| 18 | { |
||
| 19 | 33 | $this->mergeConfigFrom( |
|
| 20 | 33 | __DIR__.'/../config/obfuscate.php', |
|
| 21 | 33 | 'obfuscate' |
|
| 22 | ); |
||
| 23 | |||
| 24 | 33 | $this->app->singleton(Optimus::class, function ($app) { |
|
|
|
|||
| 25 | 33 | return new Optimus( |
|
| 26 | 33 | config('obfuscate.prime'), |
|
| 27 | 33 | config('obfuscate.inverse'), |
|
| 28 | 33 | config('obfuscate.xor') |
|
| 29 | ); |
||
| 30 | 33 | }); |
|
| 31 | |||
| 32 | 33 | $this->app->bind('obfuscate', function ($app) { |
|
| 33 | 12 | return $app->make(Obfuscate::class); |
|
| 34 | 33 | }); |
|
| 37 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.