diff --git a/Console/Command/NodesValidatorCommand.php b/Console/Command/NodesValidatorCommand.php index 04eab353..fb5feda8 100644 --- a/Console/Command/NodesValidatorCommand.php +++ b/Console/Command/NodesValidatorCommand.php @@ -147,8 +147,7 @@ private function getInvalidNodes(array $nodes): array /** @var NodeInterface $node */ foreach ($nodes as $node) { $this->validator->validate( - [$node->getNodeId() => $node->getData()], - $this->treeTrace + [$node->getNodeId() => $node->getData()] ); if (empty($this->validationAggregateError->getErrors())) {