diff --git a/build/gen_stub.php b/build/gen_stub.php index c3f6330ae363..8adf4faa4087 100755 --- a/build/gen_stub.php +++ b/build/gen_stub.php @@ -1686,7 +1686,7 @@ public function getMethodSynopsisDocument(array $funcMap, array $aliasMap): ?str $undocumentedEntity = $doc->createEntityReference('warn.undocumented.func'); $descriptionRefSec->appendChild($undocumentedEntity); $descriptionRefSec->appendChild(new DOMText("\n ")); - $returnDescriptionPara = $doc->createElement('para'); + $returnDescriptionPara = $doc->createElement('simpara'); $returnDescriptionPara->appendChild(new DOMText("\n Description.\n ")); $descriptionRefSec->appendChild($returnDescriptionPara); @@ -1709,7 +1709,7 @@ public function getMethodSynopsisDocument(array $funcMap, array $aliasMap): ?str $errorsDescriptionParaConstantTag->append('E_*'); $errorsDescriptionParaExceptionTag = $doc->createElement('exceptionname'); $errorsDescriptionParaExceptionTag->append('Exception'); - $errorsDescriptionPara = $doc->createElement('para'); + $errorsDescriptionPara = $doc->createElement('simpara'); $errorsDescriptionPara->append( "\n When does this function issue ", $errorsDescriptionParaConstantTag, @@ -1813,7 +1813,7 @@ private function getParameterSection(DOMDocument $doc): DOMElement { $parametersRefSec->appendChild($noParamEntity); return $parametersRefSec; } else { - $parametersPara = $doc->createElement('para'); + $parametersPara = $doc->createElement('simpara'); $parametersRefSec->appendChild($parametersPara); $parametersPara->appendChild(new DOMText("\n ")); @@ -1824,9 +1824,9 @@ private function getParameterSection(DOMDocument $doc): DOMElement { name - + Description. - + */ @@ -1835,7 +1835,7 @@ private function getParameterSection(DOMDocument $doc): DOMElement { $parameterTerm = $doc->createElement('term'); $parameterTerm->appendChild($parameter); - $listItemPara = $doc->createElement('para'); + $listItemPara = $doc->createElement('simpara'); $listItemPara->append( "\n ", "Description.", @@ -1871,7 +1871,7 @@ private function getParameterSection(DOMDocument $doc): DOMElement { private function getReturnValueSection(DOMDocument $doc): DOMElement { $returnRefSec = $this->generateRefSect1($doc, 'returnvalues'); - $returnDescriptionPara = $doc->createElement('para'); + $returnDescriptionPara = $doc->createElement('simpara'); $returnDescriptionPara->appendChild(new DOMText("\n ")); $returnType = $this->return->getMethodSynopsisType(); @@ -2010,7 +2010,7 @@ private function getExampleSection(DOMDocument $doc, string $id): DOMElement { $example->append("\n ", $title); - $para = $doc->createElement('para'); + $para = $doc->createElement('simpara'); $para->append("\n ", "Description.", "\n "); $example->append("\n ", $para);