Skip to content

Commit 29f672e

Browse files
vitaliy-evsyukovkbsali
authored andcommitted
Strict mode error
Declaration of Redmine\Api\SimpleXMLElement::addChild() should be compatible with SimpleXMLElement::addChild($name, $value = NULL, $ns = NULL)
1 parent 4556e1d commit 29f672e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Redmine/Api/SimpleXMLElement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class SimpleXMLElement extends \SimpleXMLElement
88
* Makes sure string is properly escaped
99
* http://stackoverflow.com/questions/552957/rationale-behind-simplexmlelements-handling-of-text-values-in-addchild-and-adda)
1010
*/
11-
public function addChild()
11+
public function addChild($name, $value = null, $ns = null)
1212
{
1313
$args = func_get_args();
1414
if (count($args) > 1 && is_string($args[1])) {

0 commit comments

Comments
 (0)