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

View File

@ -223,6 +223,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;