Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2021-01-13 13:54:29 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2021-01-13 13:54:29 +0300
commit21ca5d4514eed69e40c26ddba0e3671923594e4e (patch)
tree7c5cc59283a72db5a51ae48c36eb7e772a89b107 /apps
parentf9484d15cbf9e41212cedd42a39385b8fc81f11b (diff)
silence psalm false positive
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/lib/Mapping/AbstractMapping.php2
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;