diff --git a/src/Visitor/AttributeRewriteVisitor.php b/src/Visitor/AttributeRewriteVisitor.php index b3ac616..1a89065 100644 --- a/src/Visitor/AttributeRewriteVisitor.php +++ b/src/Visitor/AttributeRewriteVisitor.php @@ -215,7 +215,7 @@ protected function migrationConstruct(Node\Stmt\ClassMethod $node): Node\Stmt\Cl else { // 方法存在代码块,请检查 - $this->logger->warning("Method {$this->currentClass->name}::{$node->name} has code block, please check"); + $this->logger->warning("Method {$this->namespace->name}\\{$this->currentClass->name}::{$node->name} has code block, please check"); } $classCommentDoc = Helper::arrayValueLast($this->currentClass->getComments());