mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #40321 from nextcloud/fix/supress-statana-warning-memcache
[stable23] fix(caching): suppress static analysis warning for memcaching
This commit is contained in:
commit
d844c956b1
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