Code Duplication    Length = 4-4 lines in 2 locations

includes/Helpers/HttpHelper.php 2 locations

@@ 69-72 (lines=4) @@
66
67
        $result = curl_exec($this->curlHandle);
68
69
        if ($result === false) {
70
            $error = curl_error($this->curlHandle);
71
            throw new CurlException('Remote request failed with error ' . $error);
72
        }
73
74
        return $result;
75
    }
@@ 99-102 (lines=4) @@
96
97
        $result = curl_exec($this->curlHandle);
98
99
        if ($result === false) {
100
            $error = curl_error($this->curlHandle);
101
            throw new CurlException('Remote request failed with error ' . $error);
102
        }
103
104
        return $result;
105
    }