diff --git a/src/phpDocumentor/Reflection/DocBlock/Tag/ParamTag.php b/src/phpDocumentor/Reflection/DocBlock/Tag/ParamTag.php index eba1b97..dc61e8b 100644 --- a/src/phpDocumentor/Reflection/DocBlock/Tag/ParamTag.php +++ b/src/phpDocumentor/Reflection/DocBlock/Tag/ParamTag.php @@ -69,7 +69,7 @@ class ParamTag extends Tag : trim($type); } - return array_unique($types, SORT_NUMERIC); + return array_values(array_unique($types, SORT_REGULAR)); } /**