We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6f9d59 commit be6ec9fCopy full SHA for be6ec9f
src/BetterPhpDocParser/PhpDocManipulator/PhpDocTypeChanger.php
@@ -7,6 +7,7 @@
7
use PhpParser\Node\FunctionLike;
8
use PhpParser\Node\Param;
9
use PhpParser\Node\Stmt;
10
+use PhpParser\Node\Stmt\ClassMethod;
11
use PHPStan\PhpDocParser\Ast\ConstExpr\ConstFetchNode;
12
use PHPStan\PhpDocParser\Ast\Node;
13
use PHPStan\PhpDocParser\Ast\PhpDoc\ParamTagValueNode;
@@ -114,7 +115,7 @@ public function changeReturnTypeNode(
114
115
}
116
117
public function changeParamTypeNode(
- FunctionLike $functionLike,
118
+ ClassMethod $functionLike,
119
PhpDocInfo $phpDocInfo,
120
Param $param,
121
string $paramName,
0 commit comments