fix: typos in cache and app config

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/54494/head
Ferdinand Thiessen 2025-08-18 18:35:54 +07:00
parent c519e4a22a
commit 112178d3a0
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
3 changed files with 2 additions and 3 deletions

@ -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 {