|
@@ -51,7 +51,7 @@ discard block |
|
|
block discarded – undo |
|
51
|
51
|
|
|
52
|
52
|
$errNo = curl_errno($ch); |
|
53
|
53
|
if ($errNo) { |
|
54
|
|
- throw new CurlHttpAdapterException("CURL error [{$errNo}]: " . curl_error($ch), $errNo); |
|
|
54
|
+ throw new CurlHttpAdapterException("CURL error [{$errNo}]: ".curl_error($ch), $errNo); |
|
55
|
55
|
} |
|
56
|
56
|
|
|
57
|
57
|
$responseCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); |
|
@@ -62,7 +62,7 @@ discard block |
|
|
block discarded – undo |
|
62
|
62
|
&& |
|
63
|
63
|
$responseCode !== 302 |
|
64
|
64
|
) { |
|
65
|
|
- throw new CurlHttpAdapterException('Wrong HTTP response code: ' . $responseCode, $responseCode); |
|
|
65
|
+ throw new CurlHttpAdapterException('Wrong HTTP response code: '.$responseCode, $responseCode); |
|
66
|
66
|
} |
|
67
|
67
|
|
|
68
|
68
|
curl_close($ch); |
Please login to merge, or discard this patch.