1
0
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:
Michael Dowling 2013-02-22 16:23:19 -08:00
parent 35ea478945
commit bd9f6adcf0

View File

@ -184,7 +184,7 @@ class CurlHandle
}
// Set custom cURL options
foreach ($requestCurlOptions as $key => $value) {
foreach ($requestCurlOptions->getAll() as $key => $value) {
if (is_numeric($key)) {
$curlOptions[$key] = $value;
}