From e1af0e01ee1226db5ab0d6a9d8d366c6e27a7650 Mon Sep 17 00:00:00 2001 From: Brown Date: Fri, 13 Dec 2019 17:52:37 -0500 Subject: [PATCH] Revert code back to how it was --- tests/TypeReconciliation/TypeAlgebraTest.php | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/tests/TypeReconciliation/TypeAlgebraTest.php b/tests/TypeReconciliation/TypeAlgebraTest.php index 36744f203..f30f9d824 100644 --- a/tests/TypeReconciliation/TypeAlgebraTest.php +++ b/tests/TypeReconciliation/TypeAlgebraTest.php @@ -186,7 +186,7 @@ class TypeAlgebraTest extends \Psalm\Tests\TestCase if ($a) { // do nothing here } elseif ($b) { - $a = ""; + $a = null; } else { return "bad"; } @@ -1141,21 +1141,6 @@ class TypeAlgebraTest extends \Psalm\Tests\TestCase echo $array["other"];', 'error_message' => 'InvalidArrayOffset', ], - 'allEventualitiesMet' => [ - ' 'ParadoxicalCondition' - ], ]; } }