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) {
|
function aggregate($type) {
|
||||||
$t = new $type;
|
$t = new $type;
|
||||||
return $t;
|
return $t;
|
||||||
}
|
}',
|
||||||
|
|
||||||
|
|
||||||
class b extends AggregateResult {}
|
|
||||||
|
|
||||||
$b = aggregate(new b);',
|
|
||||||
'assertions' => [
|
'assertions' => [
|
||||||
'$b===' => 'b',
|
'$b===' => 'b',
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user