We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fc7599 commit b8694b4Copy full SHA for b8694b4
1 file changed
tests/phpstan/GlobalDocBlockVisitor.php
@@ -82,9 +82,11 @@ public function enterNode( Node $node ): ?Node {
82
return null;
83
}
84
85
- // Collect variable names that already have a hand-written `@var` on this
86
- // statement so we can leave them alone but still inject `@var` lines for
87
- // the remaining variables in a multi-variable `global $a, $b;` statement.
+ /*
+ * Collect variable names that already have a handwritten `@var` on this
+ * statement so we can leave them alone but still inject `@var` lines for
88
+ * the remaining variables in a multi-variable `global $a, $b;` statement.
89
+ */
90
$existing = $node->getDocComment();
91
$existing_text = $existing !== null ? $existing->getText() : '';
92
$already_typed = array();
0 commit comments