mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Add support for extending multiple interfaces in the manual
After https://github.com/php/phd/pull/75/
This commit is contained in:
parent
ddd9a08f56
commit
3c6590a391
@ -2803,6 +2803,9 @@ class ClassInfo {
|
||||
public function getClassSynopsisElement(DOMDocument $doc, array $classMap, iterable $allConstInfos): ?DOMElement {
|
||||
|
||||
$classSynopsis = $doc->createElement("classsynopsis");
|
||||
if ($this->type === "interface") {
|
||||
$classSynopsis->setAttribute("class", "interface");
|
||||
}
|
||||
$classSynopsis->appendChild(new DOMText("\n "));
|
||||
|
||||
$ooElement = self::createOoElement($doc, $this, true, false, false, 4);
|
||||
@ -2831,9 +2834,9 @@ class ClassInfo {
|
||||
$ooElement = self::createOoElement(
|
||||
$doc,
|
||||
$parentInfo,
|
||||
$this->type === "interface",
|
||||
false,
|
||||
$k === 0,
|
||||
false,
|
||||
$k === 0 && $this->type === "class",
|
||||
5
|
||||
);
|
||||
if (!$ooElement) {
|
||||
|
Loading…
Reference in New Issue
Block a user