From 564da6193726d0b2d70e2824d81411bc118efd43 Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Fri, 1 Mar 2019 09:24:52 -0500 Subject: [PATCH] Add missing return type --- src/Psalm/Storage/FunctionLikeParameter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Storage/FunctionLikeParameter.php b/src/Psalm/Storage/FunctionLikeParameter.php index 088140ccc..fa3e2112c 100644 --- a/src/Psalm/Storage/FunctionLikeParameter.php +++ b/src/Psalm/Storage/FunctionLikeParameter.php @@ -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 ? '...' : '')