Skip to content

Commit e011837

Browse files
committed
chore: phpstan
1 parent 0ee7694 commit e011837

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Generator/SymbolCollectionVisitor.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ private function handleClassMethod(ClassMethod $node): void
144144
$methodParameters = [];
145145
foreach ($node->getParams() as $param) {
146146
$paramType = $this->renderTypeNode($param->type);
147+
/* @phpstan-ignore-next-line */
147148
$paramName = is_string($param->var->name) ? $param->var->name : 'unknown';
148149
$methodParameters[] = new CodemapParameterDto($paramName, $paramType);
149150
}
@@ -225,7 +226,9 @@ private function renderEnumCaseValue(Node $expr): ?string
225226
return "'".$expr->value."'";
226227
}
227228
if ($expr instanceof Node\Expr\ClassConstFetch) {
229+
/* @phpstan-ignore-next-line */
228230
$className = $expr->class->toString();
231+
/* @phpstan-ignore-next-line */
229232
$constName = $expr->name->toString();
230233

231234
return $className.'::'.$constName;

0 commit comments

Comments
 (0)