mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Update
This commit is contained in:
parent
bff2154b23
commit
7a2a68bb46
@ -1277,12 +1277,7 @@ class ReturnTypeTest extends TestCase
|
||||
function aggregate($type) {
|
||||
$t = new $type;
|
||||
return $t;
|
||||
}
|
||||
|
||||
|
||||
class b extends AggregateResult {}
|
||||
|
||||
$b = aggregate(new b);',
|
||||
}',
|
||||
'assertions' => [
|
||||
'$b===' => 'b',
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user