src/Viserio/Component/Foundation/DataCollector/NarrowsparkDataCollector.php
public function getTooltip(): string
    {
        $opcache = \extension_loaded('Zend OPcache') && \filter_var(\ini_get('opcache.enable'), \FILTER_VALIDATE_BOOLEAN);

        $tooltip = $this->createTooltipGroup([
            'Profiler token'   => $this->serverRequest->getHeaderLine('x-debug-token'),
            'Application name' => '',
            'Environment'      => $this->env,
            'Debug'            => [
                [
                    'class' => $this->isDebug !== false ? 'status-green' : 'status-red',
                    'value' => $this->isDebug !== false ? 'enabled' : 'disabled',
                ],
            ],
        ]);

        $tooltip .= $this->createTooltipGroup([
            'PHP version'    => \PHP_VERSION,
            'Architecture'   => \PHP_INT_SIZE * 8,
            'Timezone'       => \date_default_timezone_get(),
            'PHP Extensions' => [
                [
                    'class' => \extension_loaded('xdebug') ? 'status-green' : 'status-red',
                    'value' => 'Xdebug',
                ],
                [
                    'class' => $opcache ? 'status-green' : 'status-red',
                    'value' => 'OPcache',
                ],
            ],
            'PHP SAPI' => \PHP_SAPI,
        ]);

        $version = AbstractKernel::VERSION;

        $tooltip .= $this->createTooltipGroup([
            'Resource'  => '<a href="//narrowspark.de/doc/' . $version . '">Read Narrowspark Doc\'s ' . $version . '</a>',
            'Help'      => '<a href="//narrowspark.de/support">Narrowspark Support Channels</a>',
        ]);

        return $tooltip;
    }
public function getTooltip(): string
    {
        $opcache = \extension_loaded('Zend OPcache') && \filter_var(\ini_get('opcache.enable'), \FILTER_VALIDATE_BOOLEAN);

        $tooltip = $this->createTooltipGroup([
            'Profiler token'   => $this->serverRequest->getHeaderLine('x-debug-token'),
            'Application name' => '',
            'Environment'      => $this->env,
            'Debug'            => [
                [
                    'class' => $this->isDebug !== false ? 'status-green' : 'status-red',
                    'value' => $this->isDebug !== false ? 'enabled' : 'disabled',
                ],
            ],
        ]);

        $tooltip .= $this->createTooltipGroup([
            'PHP version'    => \PHP_VERSION,
            'Architecture'   => \PHP_INT_SIZE * 8,
            'Timezone'       => \date_default_timezone_get(),
            'PHP Extensions' => [
                [
                    'class' => \extension_loaded('xdebug') ? 'status-green' : 'status-red',
                    'value' => 'Xdebug',
                ],
                [
                    'class' => $opcache ? 'status-green' : 'status-red',
                    'value' => 'OPcache',
                ],
            ],
            'PHP SAPI' => \PHP_SAPI,
        ]);

        $version = AbstractKernel::VERSION;

        $tooltip .= $this->createTooltipGroup([
            'Resource'  => '<a href="//narrowspark.de/doc/' . $version . '">Read Narrowspark Doc\'s ' . $version . '</a>',
            'Help'      => '<a href="//narrowspark.de/support">Narrowspark Support Channels</a>',
        ]);

        return $tooltip;
    }
{@inheritdoc}