in src/CodegenClassish.hack [319:331]
protected function buildConsts(HackBuilder $builder): void {
if (C\is_empty($this->consts)) {
return;
}
$builder->ensureEmptyLine();
foreach ($this->consts as $const) {
if ($const->getDocBlock() is nonnull) {
$builder->ensureEmptyLine();
}
$const->appendToBuilder($builder);
}
}