From 21ca5d4514eed69e40c26ddba0e3671923594e4e Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 13 Jan 2021 11:54:29 +0100 Subject: silence psalm false positive Signed-off-by: Arthur Schiwon --- apps/user_ldap/lib/Mapping/AbstractMapping.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps') diff --git a/apps/user_ldap/lib/Mapping/AbstractMapping.php b/apps/user_ldap/lib/Mapping/AbstractMapping.php index d6b3ed646d3..dcff88de008 100644 --- a/apps/user_ldap/lib/Mapping/AbstractMapping.php +++ b/apps/user_ldap/lib/Mapping/AbstractMapping.php @@ -233,6 +233,8 @@ abstract class AbstractMapping { $slice++; $fdnsSlice = array_slice($fdns, $sliceSize * ($slice - 1), $sliceSize); + /** @see https://github.com/vimeo/psalm/issues/4995 */ + /** @psalm-suppress TypeDoesNotContainType */ if (!isset($qb)) { $qb = $this->prepareListOfIdsQuery($fdnsSlice); continue; -- cgit v1.2.3