|
@@ -136,7 +136,7 @@ |
|
|
block discarded – undo |
|
136
|
136
|
$sql = $this->getTwigEnvironment()->render($sql, $parameters); |
|
137
|
137
|
} |
|
138
|
138
|
|
|
139
|
|
- $availableParameterKeys = array_keys(array_filter($parameters, static function($param) { return $param !== null;})); |
|
|
139
|
+ $availableParameterKeys = array_keys(array_filter($parameters, static function($param) { return $param !== null; })); |
|
140
|
140
|
// We choose md4 because it is fast. |
|
141
|
141
|
$cacheKey = 'request_build_'.hash('md4', get_class($this->platform).'__'.$sql.'__'.implode('_/_', $availableParameterKeys)); |
|
142
|
142
|
$newSql = $this->cache->fetch($cacheKey); |
Please login to merge, or discard this patch.