Set return type

This commit is contained in:
Barry vd. Heuvel
2013-05-26 21:16:30 +02:00
parent 63c9de4e8b
commit d9c0928243
@@ -60,6 +60,18 @@ class ReturnTag extends Tag
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.
*