in src/html/unescaped_pcdata_element.hack [31:41]
protected async function stringifyAsync(): Awaitable<string> {
$buf = $this->renderBaseAttrs().'>';
foreach ($this->getChildren() as $child) {
if (!($child is string)) {
throw new \Facebook\XHP\ClassException($this, 'Child must be a string');
}
$buf .= $child;
}
$buf .= '</'.$this->tagName.'>';
return $buf;
}