From 654f905cf8d8e023e3c8632f493136a59d1d54c1 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 7 Dec 2016 23:11:15 +0100 Subject: [PATCH] ProcessChanges: adjust method signature --- library/Businessprocess/Modification/ProcessChanges.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/Businessprocess/Modification/ProcessChanges.php b/library/Businessprocess/Modification/ProcessChanges.php index 2adcb25..0fb52ae 100644 --- a/library/Businessprocess/Modification/ProcessChanges.php +++ b/library/Businessprocess/Modification/ProcessChanges.php @@ -70,10 +70,10 @@ class ProcessChanges * * @return $this */ - public function addChildrenToNode(Node $node, $children) + public function addChildrenToNode($children, Node $node = null) { $action = new NodeAddChildrenAction($node); - $action->setChildren($node, $children); + $action->setChildren($children); return $this->push($action); }