| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 2 |
| 1 | <?php |
||
| 21 | public function exec(string $sessionKey, string $time, string $timeKey, Request $request): array |
||
|
|
|||
| 22 | { |
||
| 23 | $data = Cache::get($sessionKey); |
||
| 24 | |||
| 25 | if (isset($data[$time][$timeKey])) { |
||
| 26 | $query = $data[$time][$timeKey]; |
||
| 27 | return DB::connection()->select($query['rawSql'], (new BindingsMapper())->fromCache($query['bindings'])); |
||
| 28 | } |
||
| 29 | |||
| 30 | return []; |
||
| 31 | } |
||
| 51 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.