aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Memcache
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-01-06 16:57:32 +0100
committerCarl Schwan <carl@carlschwan.eu>2022-01-12 20:03:06 +0100
commitaeecb72e96e54439f98822467bb727366207039f (patch)
treeb77aee20add8d099a271131e0b4b0986426e5df1 /lib/private/Memcache
parent47c9c34cca22602fb609de6c0e1d32ec17a9e7fe (diff)
downloadnextcloud-server-aeecb72e96e54439f98822467bb727366207039f.tar.gz
nextcloud-server-aeecb72e96e54439f98822467bb727366207039f.zip
Fix a few psalm issues and moved back to psalm/phar 4.18
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'lib/private/Memcache')
-rw-r--r--lib/private/Memcache/Memcached.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Memcache/Memcached.php b/lib/private/Memcache/Memcached.php
index b3414a7d290..87b71223280 100644
--- a/lib/private/Memcache/Memcached.php
+++ b/lib/private/Memcache/Memcached.php
@@ -66,6 +66,7 @@ class Memcached extends Cache implements IMemcache {
//\Memcached::OPT_BINARY_PROTOCOL => true,
];
// by default enable igbinary serializer if available
+ /** @psalm-suppress RedundantCondition */
if (\Memcached::HAVE_IGBINARY) {
$defaultOptions[\Memcached::OPT_SERIALIZER] =
\Memcached::SERIALIZER_IGBINARY;