src/Viserio/Component/Parser/Dumper/PoDumper.php
private function addTCommentToOutput(array $entry, string $output): array
    {
        if (isset($entry['tcomment']) && \count($entry['tcomment']) !== 0) {
            foreach ($entry['tcomment'] as $comment) {
                $output .= '# ' . $comment . $this->eol;
            }
        }

        return [$entry, $output];
    }
private function addTCommentToOutput(array $entry, string $output): array
    {
        if (isset($entry['tcomment']) && \count($entry['tcomment']) !== 0) {
            foreach ($entry['tcomment'] as $comment) {
                $output .= '# ' . $comment . $this->eol;
            }
        }

        return [$entry, $output];
    }
Adds tcomment to the output.

@param array  $entry
@param string $output

@return array