src/Viserio/Component/Translation/DataCollector/ViserioTranslationDataCollector.php
public function collect(ServerRequestInterface $serverRequest, ResponseInterface $response): void
    {
        $messages = $this->sanitizeCollectedMessages($this->translator->getCollectedMessages());

        $this->data = [
            'messages' => $messages,
            'counted'  => $this->computeCount($messages),
        ];
    }
public function collect(ServerRequestInterface $serverRequest, ResponseInterface $response): void
    {
        $messages = $this->sanitizeCollectedMessages($this->translator->getCollectedMessages());

        $this->data = [
            'messages' => $messages,
            'counted'  => $this->computeCount($messages),
        ];
    }
{@inheritdoc}