protected function collectInfoFromChildren(array $parent, array $children)
    {
        $invoiceSettings = $this->config->getInvoiceSettings();
        if (!$invoiceSettings['optionsShow']) {
            $parent[Meta::ChildrenNotShown] = count($children);
        } else {
            $parent[Tag::Product] = $this->getMergedLinesText($parent, $children);
            $parent[Meta::ChildrenMerged] = count($children);
        }
        return $parent;
    }