phpDocumentor\Reflection\DocBlock\Tag\ReturnTag::getTypesCollection PHP Method

getTypesCollection() protected method

Returns the type collection.
protected getTypesCollection ( ) : void
return void
    protected function getTypesCollection()
    {
        if (null === $this->types) {
            $this->types = new Collection(array($this->type), $this->docblock ? $this->docblock->getContext() : null);
        }
        return $this->types;
    }