| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | 1 | public function generateCacheKey(Request $request) |
|
| 25 | { |
||
| 26 | // Append the rules with the version of the browser to allow new rules to bust the cache |
||
| 27 | 1 | return md5(json_encode($this->config->get($this->config_path . 'rules', []))) . |
|
| 28 | 1 | ':' . |
|
| 29 | 1 | parent::generateCacheKey($request); |
|
| 30 | } |
||
| 75 |