Skip to content

Commit 83c003b

Browse files
committed
Fix build
1 parent a946292 commit 83c003b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Analyser/Generator/ExprHandler/ClosureHandler.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ public function analyseExpr(
3838
?callable $alternativeNodeCallback,
3939
): Generator
4040
{
41-
$result = yield new StmtsAnalysisRequest($expr->stmts, $scope, StatementContext::createTopLevel(), $alternativeNodeCallback); // @phpstan-ignore generator.valueType
41+
// @phpstan-ignore generator.valueType
42+
$result = yield new StmtsAnalysisRequest($expr->stmts, $scope, StatementContext::createTopLevel(), $alternativeNodeCallback);
4243
$scope = $result->scope;
4344

4445
return new ExprAnalysisResult(

src/Analyser/Generator/GeneratorNodeScopeResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ private function processStmtNodes(
151151
}
152152

153153
throw new TrampolineException(sprintf(
154-
"Error ocurred in GNSR trampoline: %s\n\nAST processor stack trace:\n%s",
154+
"Error occurred in GNSR trampoline: %s\n\nAST processor stack trace:\n%s",
155155
$e->getMessage(),
156156
implode("\n", $stackTrace),
157157
), previous: $e);

0 commit comments

Comments
 (0)