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 f9484d15cb
commit 21ca5d4514
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 2 additions and 0 deletions

View File

@ -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;