Skip to content

Commit 43e8099

Browse files
committed
Fix NamespaceHandler
1 parent d615188 commit 43e8099

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Analyser/Generator/StmtHandler/NamespaceHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ public function supports(Stmt $stmt): bool
2626

2727
public function analyseStmt(Stmt $stmt, GeneratorScope $scope, StatementContext $context, ?callable $alternativeNodeCallback): Generator
2828
{
29-
/*if ($stmt->name !== null) {
29+
if ($stmt->name !== null) {
3030
$scope = $scope->enterNamespace($stmt->name->toString());
31-
}*/
31+
}
3232

3333
$result = yield new StmtsAnalysisRequest($stmt, $stmt->stmts, $scope, $context, $alternativeNodeCallback);
3434

0 commit comments

Comments
 (0)