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