mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Fix MethodParamsProvider to accept an empty array (ie. no params) from MethodParamsProviderInterface (#1854)
This commit is contained in:
parent
ba121a94e7
commit
0568a471de
@ -106,7 +106,7 @@ class MethodParamsProvider
|
||||
$code_location
|
||||
);
|
||||
|
||||
if ($result) {
|
||||
if ($result !== null) {
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user