mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
fix(caching): suppress static analysis warning for memcaching
Signed-off-by: Anna Larch <anna@nextcloud.com>
This commit is contained in:
parent
5648713895
commit
3e895ba0b4
1 changed files with 4 additions and 1 deletions
|
|
@ -66,7 +66,10 @@ class Memcached extends Cache implements IMemcache {
|
|||
//\Memcached::OPT_BINARY_PROTOCOL => true,
|
||||
];
|
||||
// by default enable igbinary serializer if available
|
||||
/** @psalm-suppress RedundantCondition */
|
||||
/**
|
||||
* @psalm-suppress RedundantCondition
|
||||
* @psalm-suppress TypeDoesNotContainType
|
||||
*/
|
||||
if (\Memcached::HAVE_IGBINARY) {
|
||||
$defaultOptions[\Memcached::OPT_SERIALIZER] =
|
||||
\Memcached::SERIALIZER_IGBINARY;
|
||||
|
|
|
|||
Loading…
Reference in a new issue