[FileCache] Change parameters to lower-case

This prevents creating multiple cache files for the same request.
This commit is contained in:
logmanoriginal 2016-10-08 15:34:17 +02:00
parent 5de4a59d41
commit 5639b158e7

View file

@ -55,7 +55,7 @@ class FileCache implements CacheInterface {
* @return self * @return self
*/ */
public function setParameters(array $param){ public function setParameters(array $param){
$this->param = $param; $this->param = array_map('strtolower', $param);
return $this; return $this;
} }