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:
parent
d8f42d7281
commit
a2f415e2e0
@ -355,7 +355,7 @@ class FunctionLikeDocblockScanner
|
||||
}
|
||||
}
|
||||
|
||||
if ($docblock_info->return_type) {
|
||||
if ($docblock_info->return_type !== null) {
|
||||
self::handleReturn(
|
||||
$codebase,
|
||||
$docblock_info,
|
||||
|
Loading…
x
Reference in New Issue
Block a user