Skip to content

Commit 425c82a

Browse files
committed
Merge branch 'master' of github.com:brainite/quipxml
2 parents b0e2a13 + 6b9034b commit 425c82a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Xml/QuipXmlElementIterator.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ protected function _singleGetter($method, $arg1 = NULL) {
9999
* @return QuipXmlElementIterator The addChild method returns a QuipXmlElementIterator
100100
* object representing the child(ren) added to the XML node(s).
101101
*/
102-
public function addChild($name, $value = null, $namespace = null) {
102+
public function addChild($name, $value = NULL, $namespace = NULL) {
103103
return $this->_eachGetIterator('addChild', $name, $value, $namespace);
104104
}
105105

@@ -111,7 +111,7 @@ public function before($content) {
111111
return $this->_eachSetter('before', $content);
112112
}
113113

114-
public function count() {
114+
public function count(): int {
115115
$count = 0;
116116
foreach ($this as $tmp) {
117117
if ($count === 0 && !$tmp) {
@@ -225,4 +225,4 @@ public function xpath($path) {
225225
return $this->_eachGetIterator('xpath', $path);
226226
}
227227

228-
}
228+
}

0 commit comments

Comments
 (0)