protected function createPropertyDoc(Type $type) { return new Doc(sprintf(<<<EOD /** * @var %s */ EOD , $type->__toString())); }