diff --git a/src/phpDocumentor/Reflection/DocBlock/Tag/ParamTag.php b/src/phpDocumentor/Reflection/DocBlock/Tag/ParamTag.php index 8214534..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 $types; + return array_values(array_unique($types, SORT_REGULAR)); } /**