silence psalm false positive

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2021-01-13 11:54:29 +01:00
parent 83b0b84c1f
commit b4d83c6f02
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 2 additions and 0 deletions

View File

@ -222,6 +222,8 @@ abstract class AbstractMapping {
$slice++; $slice++;
$fdnsSlice = array_slice($fdns, $sliceSize * ($slice - 1), $sliceSize); $fdnsSlice = array_slice($fdns, $sliceSize * ($slice - 1), $sliceSize);
/** @see https://github.com/vimeo/psalm/issues/4995 */
/** @psalm-suppress TypeDoesNotContainType */
if (!isset($qb)) { if (!isset($qb)) {
$qb = $this->prepareListOfIdsQuery($fdnsSlice); $qb = $this->prepareListOfIdsQuery($fdnsSlice);
continue; continue;