Skip to content

Commit 9d26d67

Browse files
connorhuthePanz
authored andcommitted
fix(config) sfCacheConfigHandler: There is no fourth argument. Nice catch phpstan!
1 parent 66e79cf commit 9d26d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/config/sfCacheConfigHandler.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ protected function addCache($actionName = '')
9292
$lifeTime = !$enabled ? '0' : $this->getConfigValue('lifetime', $actionName, '0');
9393

9494
// client_lifetime
95-
$clientLifetime = !$enabled ? '0' : $this->getConfigValue('client_lifetime', $actionName, $lifeTime, '0');
95+
$clientLifetime = !$enabled ? '0' : $this->getConfigValue('client_lifetime', $actionName, $lifeTime);
9696

9797
// contextual
9898
$contextual = $this->getConfigValue('contextual', $actionName) ? 'true' : 'false';

0 commit comments

Comments
 (0)