mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Add missing return type
This commit is contained in:
parent
619590aa71
commit
564da61937
@ -109,7 +109,7 @@ class FunctionLikeParameter
|
||||
. ($this->is_optional ? '=' : '');
|
||||
}
|
||||
|
||||
public function getId()
|
||||
public function getId() : string
|
||||
{
|
||||
return ($this->type ? $this->type->getId() : 'mixed')
|
||||
. ($this->is_variadic ? '...' : '')
|
||||
|
Loading…
Reference in New Issue
Block a user