mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-17 01:41:44 -05:00
ProcessChanges: adjust method signature
This commit is contained in:
parent
a7e9d815eb
commit
654f905cf8
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue