We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fdc6a0 commit 851d142Copy full SHA for 851d142
src/phpFastCache/CacheManager.php
@@ -460,7 +460,7 @@ protected static function validateConfig(array $config)
460
break;
461
case 'securityKey':
462
case 'path':
463
- if (!is_string($configValue) || (is_bool($configValue) && $configValue)) {
+ if (!is_string($configValue) && (!is_bool($configValue) || $configValue)) {
464
throw new phpFastCacheInvalidConfigurationException("{$configName} must be a string or a false boolean");
465
}
466
0 commit comments