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

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

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

@param array  $entry
@param string $output

@return array