Skip to content

Commit 19497ba

Browse files
committed
ParameterOutAssignedTypeRule - fix for conditional types
1 parent 787c1e2 commit 19497ba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/PHPStan/Rules/Variables/ParameterOutAssignedTypeRuleTest.php

+5
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,9 @@ public function testRule(): void
5454
]);
5555
}
5656

57+
public function testBug10699(): void
58+
{
59+
$this->analyse([__DIR__ . '/../../Analyser/data/bug-10699.php'], []);
60+
}
61+
5762
}

0 commit comments

Comments
 (0)