Changed array_merge to array_merge_recursive
parent
468eb0ed8d
commit
b4d87af959
|
@ -49,7 +49,7 @@ final class StreamContextFactory
|
|||
);
|
||||
}
|
||||
|
||||
$options = array_merge($options, $defaultOptions);
|
||||
$options = array_merge_recursive($options, $defaultOptions);
|
||||
|
||||
return stream_context_create($options, $defaultParams);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue