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