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:
parent
6d4d0cf825
commit
7a02d300d6
@ -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;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user