mirror of
https://github.com/guzzle/guzzle.git
synced 2025-02-25 18:43:22 +01:00
Iterating over array instead of ArrayIterator in CurlHandle::factory
This commit is contained in:
parent
35ea478945
commit
bd9f6adcf0
@ -184,7 +184,7 @@ class CurlHandle
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Set custom cURL options
|
// Set custom cURL options
|
||||||
foreach ($requestCurlOptions as $key => $value) {
|
foreach ($requestCurlOptions->getAll() as $key => $value) {
|
||||||
if (is_numeric($key)) {
|
if (is_numeric($key)) {
|
||||||
$curlOptions[$key] = $value;
|
$curlOptions[$key] = $value;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user