| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | public function register() |
||
| 13 | { |
||
| 14 | $this->mergeConfigFrom( |
||
| 15 | __DIR__ . '/../config/supercache.php', |
||
| 16 | 'supercache' |
||
| 17 | ); |
||
| 18 | $this->app->singleton(SuperCacheManager::class, function ($app) { |
||
|
|
|||
| 19 | return new SuperCacheManager(new RedisConnector()); |
||
| 20 | }); |
||
| 21 | |||
| 22 | $this->app->singleton('supercache', function ($app) { |
||
| 23 | return new SuperCacheManager(new RedisConnector()); |
||
| 24 | }); |
||
| 45 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.