Set return type

This commit is contained in:
Barry vd. Heuvel
2013-05-26 21:16:30 +02:00
parent d99732612a
commit 3760d10ace
@@ -60,6 +60,18 @@ class ReturnTag extends Tag
return $this; return $this;
} }
/**
* Set the return type
*
* @param string $type
* @return $this
*/
public function setType($type){
$this->type = $type;
$this->content = null;
return $this;
}
/** /**
* Returns the unique types of the variable. * Returns the unique types of the variable.
* *