diff --git a/src/Psalm/Storage/FunctionLikeStorage.php b/src/Psalm/Storage/FunctionLikeStorage.php index 5f6acd2ca..a108513ba 100644 --- a/src/Psalm/Storage/FunctionLikeStorage.php +++ b/src/Psalm/Storage/FunctionLikeStorage.php @@ -245,7 +245,7 @@ abstract class FunctionLikeStorage array_map( function (FunctionLikeParameter $param): string { $realType = $param->type ?: 'mixed'; - return " {$realType} \${$param->name}"; + return " {$realType} \${$param->name}"; }, $this->params )