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