Changed return tag to properly support expanding types

This commit is contained in:
Mike van Riel
2012-06-21 23:00:13 +02:00
parent bbac3fa418
commit 4d262053fc
2 changed files with 81 additions and 21 deletions
@@ -42,25 +42,4 @@ class ReturnTag extends ParamTag
$this->description = implode(' ', $content);
}
/**
* Returns the type of the variable.
*
* @return string
*/
public function getTypes()
{
$types = explode('|', $this->type);
array_walk($types, 'trim');
return $types;
}
/**
* Returns the type of the variable.
*
* @return string
*/
public function getType()
{
return $this->type;
}
}