mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
add test
This commit is contained in:
parent
a2f415e2e0
commit
4137cabaed
@ -950,6 +950,15 @@ class ReturnTypeTest extends TestCase
|
|||||||
returnsNever();
|
returnsNever();
|
||||||
}'
|
}'
|
||||||
],
|
],
|
||||||
|
'return0' => [
|
||||||
|
'<?php
|
||||||
|
/**
|
||||||
|
* @return 0
|
||||||
|
*/
|
||||||
|
function takesAnInt() {
|
||||||
|
return 0;
|
||||||
|
}'
|
||||||
|
],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user