aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Http/Client
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Http/Client')
-rw-r--r--lib/private/Http/Client/NegativeDnsCache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Http/Client/NegativeDnsCache.php b/lib/private/Http/Client/NegativeDnsCache.php
index 550d75a9c08..631fa19c90f 100644
--- a/lib/private/Http/Client/NegativeDnsCache.php
+++ b/lib/private/Http/Client/NegativeDnsCache.php
@@ -46,6 +46,6 @@ class NegativeDnsCache {
}
public function isNegativeCached(string $domain, int $type) : bool {
- return $this->cache->hasKey($this->createCacheKey($domain, $type));
+ return (bool)$this->cache->hasKey($this->createCacheKey($domain, $type));
}
}