Skip to content

Commit

Permalink
fix(config) sfCacheConfigHandler: There is no fourth argument. Nice c…
Browse files Browse the repository at this point in the history
…atch phpstan!
  • Loading branch information
connorhu authored and thePanz committed Jan 17, 2024
1 parent 66e79cf commit 9d26d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config/sfCacheConfigHandler.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected function addCache($actionName = '')
$lifeTime = !$enabled ? '0' : $this->getConfigValue('lifetime', $actionName, '0');

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

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

0 comments on commit 9d26d67

Please sign in to comment.