From ea50e5db4d7875c7682c10f833ef5b8b297b254d Mon Sep 17 00:00:00 2001 From: orklah Date: Sat, 4 Sep 2021 14:19:49 +0200 Subject: [PATCH] add test --- tests/TypeReconciliation/ConditionalTest.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/TypeReconciliation/ConditionalTest.php b/tests/TypeReconciliation/ConditionalTest.php index 5872f54252c..5f584bc5593 100644 --- a/tests/TypeReconciliation/ConditionalTest.php +++ b/tests/TypeReconciliation/ConditionalTest.php @@ -3046,6 +3046,13 @@ function foo(Exception $e) : void { }', 'error_message' => 'TypeDoesNotContainType', ], + 'falsyValuesInIf' => [ + ' 'TypeDoesNotContainType', + ], ]; } }