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:
parent
ba121a94e7
commit
0568a471de
@ -106,7 +106,7 @@ class MethodParamsProvider
|
|||||||
$code_location
|
$code_location
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($result) {
|
if ($result !== null) {
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user