Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
46 | 1 | protected function createCacheStore($config) |
|
|
|||
47 | { |
||
48 | // if ($config === true) { |
||
49 | 1 | return new MemoryStore; |
|
50 | // } |
||
51 | // |
||
52 | // return new Cache( |
||
53 | // $this->app['cache']->store($config['store']), |
||
54 | // $config['prefix'] ?? 'flysystem', |
||
55 | // $config['expire'] ?? null |
||
56 | // ); |
||
57 | } |
||
58 | } |
||
59 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.