1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

fix @return 0

This commit is contained in:
orklah 2021-10-09 17:58:06 +02:00
parent d8f42d7281
commit a2f415e2e0

View File

@ -355,7 +355,7 @@ class FunctionLikeDocblockScanner
}
}
if ($docblock_info->return_type) {
if ($docblock_info->return_type !== null) {
self::handleReturn(
$codebase,
$docblock_info,