mirror of
https://github.com/danog/psalm.git
synced 2024-12-12 01:09:38 +01:00
turn inside_loop to true for do...while
This commit is contained in:
parent
a54e76cbc7
commit
e6ba6092a6
@ -31,6 +31,7 @@ class DoAnalyzer
|
||||
): void {
|
||||
$do_context = clone $context;
|
||||
$do_context->break_types[] = 'loop';
|
||||
$do_context->inside_loop = true;
|
||||
|
||||
$codebase = $statements_analyzer->getCodebase();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user