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 6b2c2da commit 7732febCopy full SHA for 7732feb
src/Analyser/NodeScopeResolver.php
@@ -396,8 +396,6 @@ public function processStmtNodes(
396
397
if ($shouldCheckLastStatement && $isLast) {
398
/** @var Node\Stmt\Function_|Node\Stmt\ClassMethod|PropertyHookStatementNode|Expr\Closure $parentNode */
399
- $parentNode = $parentNode;
400
-
401
$endStatements = $statementResult->getEndStatements();
402
if (count($endStatements) > 0) {
403
foreach ($endStatements as $endStatement) {
0 commit comments