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

Add extra arg to return type call

This commit is contained in:
Matthew Brown 2019-03-03 22:57:40 -05:00
parent 6f7295ed13
commit 92cba71a06

View File

@ -781,10 +781,11 @@ class Codebase
/**
* @param string $method_id
* @param string $self_class
* @param array<int, PhpParser\Node\Arg> $call_args
*
* @return Type\Union|null
*/
public function getMethodReturnType($method_id, &$self_class)
public function getMethodReturnType($method_id, &$self_class, array $call_args = [])
{
return $this->methods->getMethodReturnType($method_id, $self_class);
}