private function cleanup(): void
    {
        if (empty($this->queue)) {
            curl_multi_close($this->curlm);
            $this->curlm = null;
            $this->pushFunctions = [];
            $this->pushCb = [];
        }
    }
private function cleanup(): void
    {
        if (empty($this->queue)) {
            curl_multi_close($this->curlm);
            $this->curlm = null;
            $this->pushFunctions = [];
            $this->pushCb = [];
        }
    }
private function cleanup ( ) : void { if ( empty ( $ this -> queue ) ) { curl_multi_close ( $ this -> curlm ) ; $ this -> curlm = null ; $ this -> pushFunctions = [ ] ; $ this -> pushCb = [ ] ; } }
If we got no requests in the queue, do a clean up to save some memory.
If we got no requests in the queue do a clean up to save some memory .