diff --git a/src/Psalm/Codebase.php b/src/Psalm/Codebase.php index 8428e36d5..410e2da1e 100644 --- a/src/Psalm/Codebase.php +++ b/src/Psalm/Codebase.php @@ -781,10 +781,11 @@ class Codebase /** * @param string $method_id * @param string $self_class + * @param array $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); }