mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 10:07:12 +00:00
Set return type
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user