private function toDocblock($value) { if (is_string($value)) { $value = Docblock::create()->setLongDescription($value); } return $value; }