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:
parent
6f7295ed13
commit
92cba71a06
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user