1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Fix closure return type

This commit is contained in:
Matthew Brown 2018-06-09 10:23:04 -04:00
parent 6d4d0cf825
commit 7a02d300d6

View File

@ -647,6 +647,9 @@ class CallChecker
if ($generic_params) {
$existing_generic_params_to_strings = array_map(
/**
* @return string
*/
function(Type\Union $type) {
return (string) $type;
},