src/Viserio/Component/Profiler/DataCollector/MessagesDataCollector.php
public function collect(ServerRequestInterface $serverRequest, ResponseInterface $response): void
    {
        $messages = $this->getMessages();

        $this->data = [
            'counted'  => \count($messages),
            'messages' => $messages,
        ];
    }
public function collect(ServerRequestInterface $serverRequest, ResponseInterface $response): void
    {
        $messages = $this->getMessages();

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