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

Fix MethodParamsProvider to accept an empty array (ie. no params) from MethodParamsProviderInterface (#1854)

This commit is contained in:
Teemu Koskinen 2019-06-27 18:51:56 +03:00 committed by Matthew Brown
parent ba121a94e7
commit 0568a471de

View File

@ -106,7 +106,7 @@ class MethodParamsProvider
$code_location $code_location
); );
if ($result) { if ($result !== null) {
return $result; return $result;
} }
} }