mirror of
https://github.com/guzzle/guzzle.git
synced 2025-07-02 22:03:06 +02:00
Iterating over array instead of ArrayIterator in CurlHandle::factory
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user