Skip to content

Commit 0cac60c

Browse files
committed
fix
1 parent c647a06 commit 0cac60c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

rules/TypeDeclarationDocblocks/Rector/ClassMethod/AddParamArrayDocblockFromDataProviderRector.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ public function refactor(Node $node): ?Node
151151
continue;
152152
}
153153

154+
if ($parameterType instanceof MixedType) {
155+
continue;
156+
}
157+
154158
$generalizedParameterType = $this->typeNormalizer->generalizeConstantTypes($parameterType);
155159

156160
$parameterTypeNode = $this->staticTypeMapper->mapPHPStanTypeToPHPStanPhpDocTypeNode(

0 commit comments

Comments
 (0)