silence psalm false positive

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
pull/25036/head
Arthur Schiwon 5 years ago
parent f9484d15cb
commit 21ca5d4514
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
  1. 2
      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;

Loading…
Cancel
Save