Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/config.sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -1795,7 +1795,7 @@
/**
* 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``
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/private/AppConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ private function setTypedValue(
&& ($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.
}
Expand Down
1 change: 0 additions & 1 deletion lib/private/Memcache/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ protected function getGlobalPrefix(): string {
* 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 {
Expand Down
Loading