Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/xhtml/XHtmlElement.php')
-rw-r--r--src/xhtml/XHtmlElement.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/xhtml/XHtmlElement.php b/src/xhtml/XHtmlElement.php
index dcd600eb..a31b49d5 100644
--- a/src/xhtml/XHtmlElement.php
+++ b/src/xhtml/XHtmlElement.php
@@ -1,7 +1,7 @@
<?php
/**
- * PHPPgAdmin 6.1.3
+ * PHPPgAdmin6
*/
namespace PHPPgAdmin\XHtml;
@@ -31,12 +31,10 @@ class XHtmlElement extends XHtmlSimpleElement
/**
* Adds an xhtml child to element.
- *
- * @param XHtmlOption $object
*/
public function add(XHtmlOption &$object): void
{
- \array_push($this->_siblings, $object);
+ $this->_siblings[] = $object;
}
/**
@@ -51,6 +49,9 @@ class XHtmlElement extends XHtmlSimpleElement
}
}
+ /**
+ * @return string
+ */
public function fetch()
{
return $this->_html();