Skip to content

Commit b9da14b

Browse files
authored
Merge pull request nextcloud#54494 from nextcloud/fix/typos
fix: typos in cache and app config
2 parents f7a7ae4 + 112178d commit b9da14b

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

config/config.sample.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1795,7 +1795,7 @@
17951795
/**
17961796
* Enable caching of the app config values.
17971797
* If enabled the app config will be cached locally for a short TTL,
1798-
* reducing database load significatly on larger setups.
1798+
* reducing database load significantly on larger setups.
17991799
*
18001800
* Defaults to ``true``
18011801
*/

lib/private/AppConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ private function setTypedValue(
864864
&& ($type | self::VALUE_SENSITIVE) !== ($currType | self::VALUE_SENSITIVE)) {
865865
try {
866866
$currType = $this->convertTypeToString($currType);
867-
$this->convertTypeToString($type);
867+
$type = $this->convertTypeToString($type);
868868
} catch (AppConfigIncorrectTypeException) {
869869
// can be ignored, this was just needed for a better exception message.
870870
}

lib/private/Memcache/Factory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ protected function getGlobalPrefix(): string {
128128
* Override the global prefix for a specific closure.
129129
* This should only be used internally for bootstrapping purpose!
130130
*
131-
* @param string $globalPrefix - The prefix to use during the closure execution
132131
* @param \Closure $closure - The closure with the cache factory as the first parameter
133132
*/
134133
public function withServerVersionPrefix(\Closure $closure): void {

0 commit comments

Comments
 (0)