aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Http/Client/NegativeDnsCache.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Http/Client/NegativeDnsCache.php')
-rw-r--r--lib/private/Http/Client/NegativeDnsCache.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Http/Client/NegativeDnsCache.php b/lib/private/Http/Client/NegativeDnsCache.php
index d5e32fa7c2d..ca8a477d6be 100644
--- a/lib/private/Http/Client/NegativeDnsCache.php
+++ b/lib/private/Http/Client/NegativeDnsCache.php
@@ -20,11 +20,11 @@ class NegativeDnsCache {
}
private function createCacheKey(string $domain, int $type) : string {
- return $domain . "-" . (string)$type;
+ return $domain . '-' . (string)$type;
}
public function setNegativeCacheForDnsType(string $domain, int $type, int $ttl) : void {
- $this->cache->set($this->createCacheKey($domain, $type), "true", $ttl);
+ $this->cache->set($this->createCacheKey($domain, $type), 'true', $ttl);
}
public function isNegativeCached(string $domain, int $type) : bool {