Merge pull request #54494 from nextcloud/fix/typos

fix: typos in cache and app config
pull/54503/head
Daniel 2025-08-19 09:34:24 +07:00 committed by GitHub
commit b9da14be0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 {