Skip to content

Commit 2ac7b44

Browse files
blizzzbackportbot[bot]
authored andcommitted
silence psalm false positive
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 parent 02786e5 commit 2ac7b44

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/user_ldap/lib/Mapping/AbstractMapping.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ public function getListOfIdsByDn(array $fdns): array {
221221
$slice++;
222222
$fdnsSlice = array_slice($fdns, $sliceSize * ($slice - 1), $sliceSize);
223223

224+
/** @see https://github.com/vimeo/psalm/issues/4995 */
225+
/** @psalm-suppress TypeDoesNotContainType */
224226
if (!isset($qb)) {
225227
$qb = $this->prepareListOfIdsQuery($fdnsSlice);
226228
continue;

0 commit comments

Comments
 (0)