src/Viserio/Component/Profiler/DataCollector/MemoryDataCollector.php
public function getTooltip(): string
    {
        $coverToMb = static function (int $number) {
            return $number / 1024 / 1024;
        };

        $limit = $this->data['memory_limit'] === -1 ? 'Unlimited' : $coverToMb($this->data['memory_limit']);

        return $this->createTooltipGroup([
            'Peak memory usage' => $coverToMb($this->data['memory']) . ' MB',
            'PHP memory limit'  => $limit . ' MB',
        ]);
    }
public function getTooltip(): string
    {
        $coverToMb = static function (int $number) {
            return $number / 1024 / 1024;
        };

        $limit = $this->data['memory_limit'] === -1 ? 'Unlimited' : $coverToMb($this->data['memory_limit']);

        return $this->createTooltipGroup([
            'Peak memory usage' => $coverToMb($this->data['memory']) . ' MB',
            'PHP memory limit'  => $limit . ' MB',
        ]);
    }
{@inheritdoc}