types = explode('|', $matches[1]); if (isset($matches[2])) { $this->description = $matches[2]; } } /** * Get return variable type * * @return string * @deprecated 2.0.4 use getTypes instead */ public function getType() { return implode('|', $this->getTypes()); } /** * @return array */ public function getTypes() { return $this->types; } /** * @return string */ public function getDescription() { return $this->description; } }