mirror of
https://github.com/nextcloud/server.git
synced 2026-02-22 01:11:23 -05:00
Merge pull request #54494 from nextcloud/fix/typos
fix: typos in cache and app config
This commit is contained in:
commit
b9da14be0c
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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue