Skip to content

Commit 226dc41

Browse files
committed
add generator return type hint
1 parent 389a728 commit 226dc41

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Analyser/Generator/NodeHandler/StmtsHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ private function getNextUnreachableStatements(array $nodes, bool $earlyBinding):
185185
/**
186186
* @param Node\Stmt[] $nextStmts
187187
* @param (callable(Node, Scope, callable(Node, Scope): void): void)|null $alternativeNodeCallback
188+
* @return Generator<int, NodeCallbackRequest>
188189
*/
189190
private function processUnreachableStatement(array $nextStmts, GeneratorScope $scope, ?callable $alternativeNodeCallback): Generator
190191
{

0 commit comments

Comments
 (0)