ProcessChanges: fit changed NodeRemove api

This commit is contained in:
Thomas Gelf 2016-12-23 11:16:37 +01:00
parent 1fc6634b75
commit 40165353d8

View file

@ -79,7 +79,7 @@ class ProcessChanges
/**
* @param Node|string $nodeName
* @param object $properties
* @param array $properties
* @param Node $parent
*
* @return $this
@ -102,7 +102,7 @@ class ProcessChanges
public function deleteNode(Node $node, array $path)
{
$action = new NodeRemoveAction($node);
$action->setProperties('path', $path);
$action->setPath($path);
return $this->push($action);
}
@ -120,7 +120,6 @@ class ProcessChanges
return $this;
}
/**
* Get all stacked actions
*