diff --git a/tests/TypeTest.php b/tests/TypeTest.php index ebba4d8f3..d6ea7b72a 100644 --- a/tests/TypeTest.php +++ b/tests/TypeTest.php @@ -1231,7 +1231,7 @@ class TypeTest extends PHPUnit_Framework_TestCase $return_stmt = array_pop($stmts); - $this->assertSame('mixed', (string) $return_stmt->exprs[0]->inferredType); + $this->assertSame('int|string', (string) $return_stmt->exprs[0]->inferredType); } public function testTypeAdjustmentIfNull()