fix: typos in cache and app config
@ -1795,7 +1795,7 @@ $CONFIG = [
/**
* Enable caching of the app config values.
* If enabled the app config will be cached locally for a short TTL,
* reducing database load significatly on larger setups.
* reducing database load significantly on larger setups.
*
* Defaults to ``true``
*/
@ -864,7 +864,7 @@ class AppConfig implements IAppConfig {
&& ($type | self::VALUE_SENSITIVE) !== ($currType | self::VALUE_SENSITIVE)) {
try {
$currType = $this->convertTypeToString($currType);
$this->convertTypeToString($type);
$type = $this->convertTypeToString($type);
} catch (AppConfigIncorrectTypeException) {
// can be ignored, this was just needed for a better exception message.
}
@ -128,7 +128,6 @@ class Factory implements ICacheFactory {
* Override the global prefix for a specific closure.
* This should only be used internally for bootstrapping purpose!
* @param string $globalPrefix - The prefix to use during the closure execution
* @param \Closure $closure - The closure with the cache factory as the first parameter
public function withServerVersionPrefix(\Closure $closure): void {