Skip to content

Commit 949e1a0

Browse files
committed
[ci-review] Rector Rectify
1 parent 0287344 commit 949e1a0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/BetterPhpDocParser/PhpDocManipulator/PhpDocTypeChanger.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function changeReturnTypeNode(
115115
}
116116

117117
public function changeParamTypeNode(
118-
ClassMethod $functionLike,
118+
ClassMethod $classMethod,
119119
PhpDocInfo $phpDocInfo,
120120
Param $param,
121121
string $paramName,
@@ -129,7 +129,7 @@ public function changeParamTypeNode(
129129
$phpDocInfo->addTagValueNode($paramTagValueNode);
130130
}
131131

132-
$this->docBlockUpdater->updateRefactoredNodeWithPhpDocInfo($functionLike);
132+
$this->docBlockUpdater->updateRefactoredNodeWithPhpDocInfo($classMethod);
133133
}
134134

135135
public function changeReturnType(FunctionLike $functionLike, PhpDocInfo $phpDocInfo, Type $newType): bool

0 commit comments

Comments
 (0)