Build a plain-text docblock for a property (no tab stops). Emits a single-line `/** @var Type */` format.
(
sym: &SymbolInfo,
indent: &str,
class_loader: &dyn Fn(&str) -> Option<Arc<ClassInfo>>,
)
| 1597 | /// |
| 1598 | /// Emits a single-line `/** @var Type */` format. |
| 1599 | fn build_property_plain( |
| 1600 | sym: &SymbolInfo, |
| 1601 | indent: &str, |
| 1602 | class_loader: &dyn Fn(&str) -> Option<Arc<ClassInfo>>, |
| 1603 | ) -> String { |
| 1604 | let var_type = property_var_type_plain(sym.type_hint.as_ref(), class_loader); |
| 1605 | format!("{indent}/** @var {var_type} */\n") |
| 1606 | } |
| 1607 | |
| 1608 | /// Build a plain-text docblock for a constant (no tab stops). |
| 1609 | /// |
no test coverage detected