src/Server/Capabilities/RefreshLimitedCapabilities.php
public function refresh(): CapabilitiesInterface
    {
        if ($this->isFresh) {
            return $this;
        }

        $this->capabilities->refresh();
        $this->isFresh = true;

        return $this;
    }
public function refresh(): CapabilitiesInterface
    {
        if ($this->isFresh) {
            return $this;
        }

        $this->capabilities->refresh();
        $this->isFresh = true;

        return $this;
    }
{@inheritdoc}