diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2021-03-25 13:00:58 +0300 |
---|---|---|
committer | Felipe Figueroa <amenadiel@gmail.com> | 2021-03-25 13:00:58 +0300 |
commit | ab85b1b8eff0e21f09d7fef3f624c0c89d739193 (patch) | |
tree | be4cc542976980b513740b9ca729b65f9b51cdf2 /src/xhtml/XHtmlElement.php | |
parent | 6ecd16dd63bde1148f1e3d07fd0af7aa5eda4e13 (diff) |
typehint iteratoraggregate for printTablefeature/bugfixes_from_wrong_bisect
Diffstat (limited to 'src/xhtml/XHtmlElement.php')
-rw-r--r-- | src/xhtml/XHtmlElement.php | 9 |
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(); |