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:
parent
2e91b27b92
commit
979639668d
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user