1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00
This commit is contained in:
Daniil Gentili 2023-04-24 13:40:19 +02:00
parent bff2154b23
commit 7a2a68bb46

View File

@ -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',
],