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