diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-01-13 11:54:29 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-01-13 11:54:29 +0100 |
commit | 21ca5d4514eed69e40c26ddba0e3671923594e4e (patch) | |
tree | 7c5cc59283a72db5a51ae48c36eb7e772a89b107 /apps/user_ldap | |
parent | f9484d15cbf9e41212cedd42a39385b8fc81f11b (diff) | |
download | nextcloud-server-21ca5d4514eed69e40c26ddba0e3671923594e4e.tar.gz nextcloud-server-21ca5d4514eed69e40c26ddba0e3671923594e4e.zip |
silence psalm false positive
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/lib/Mapping/AbstractMapping.php | 2 |
1 files changed, 2 insertions, 0 deletions
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; |