src/EndpointDiscovery/EndpointList.php
private function getExpired()
    {
        if (count($this->expired) < 1) {
            return null;
        }
        $expired = key($this->expired);
        $this->increment($this->expired);
        return $expired;
    }
private function getExpired()
    {
        if (count($this->expired) < 1) {
            return null;
        }
        $expired = key($this->expired);
        $this->increment($this->expired);
        return $expired;
    }
private function getExpired ( ) { if ( count ( $ this -> expired ) < 1 ) { return null ; } $ expired = key ( $ this -> expired ) ; $ this -> increment ( $ this -> expired ) ; return $ expired ; }
Get an expired endpoint. Returns null if none found.

@return null|string
Get an expired endpoint . Returns null if none found .