Skip to content

Commit e8f7f30

Browse files
committed
[ci-review] Rector Rectify
1 parent 2dce4b2 commit e8f7f30

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

rules/TypeDeclarationDocblocks/Rector/ClassMethod/AddParamArrayDocblockFromDimFetchAccessRector.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,11 @@ public function refactor(Node $node): ?Node
9494
if (! $param->type instanceof Node) {
9595
continue;
9696
}
97+
9798
if (! $this->isName($param->type, 'array')) {
9899
continue;
99100
}
101+
100102
/** @var string $paramName */
101103
$paramName = $this->getName($param->var);
102104

@@ -169,7 +171,7 @@ private function isOnlyStringType(array $keyTypes): bool
169171
}
170172

171173
/**
172-
* @param \PHPStan\Type\Type[] $keyTypes
174+
* @param Type[] $keyTypes
173175
*/
174176
private function isOnlyIntegerType(array $keyTypes): bool
175177
{

0 commit comments

Comments
 (0)