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

Fix array type in test

This commit is contained in:
Matthew Brown 2016-09-12 00:03:15 -04:00
parent 2e91b27b92
commit 979639668d

View File

@ -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()