src/UptimeRobot/API.php
private function setDebug($curl)
    {
        $this->debug = [
            'errorNum' => curl_errno($curl),
            'error' => curl_error($curl),
            'info' => curl_getinfo($curl),
            'raw' => $this->contents,
        ];
    }
private function setDebug($curl)
    {
        $this->debug = [
            'errorNum' => curl_errno($curl),
            'error' => curl_error($curl),
            'info' => curl_getinfo($curl),
            'raw' => $this->contents,
        ];
    }
private function setDebug ( $ curl ) { $ this -> debug = [ 'errorNum' => curl_errno ( $ curl ) , 'error' => curl_error ( $ curl ) , 'info' => curl_getinfo ( $ curl ) , 'raw' => $ this -> contents , ] ; }
Sets debug information from last curl.

@param resource $curl Curl handle
Sets debug information from last curl .