1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

change test to show while loop with truthy value is still inferred

This commit is contained in:
orklah 2021-09-04 14:10:12 +02:00
parent f9b37cea5b
commit de27693015

View File

@ -712,7 +712,7 @@ class WhileTest extends \Psalm\Tests\TestCase
'<?php
function getResultWithRetry(): string
{
while (true) {
while (new stdClass) {
return "";
}
}'