mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-10-23 20:37:55 +00:00
Allow uploads with CURLStringFile type
This commit is contained in:
committed by
Zach Borboa
parent
de7751b4e1
commit
5cd8e3db11
@@ -93,6 +93,8 @@ class ArrayUtil
|
||||
} else {
|
||||
if ($value instanceof \CURLFile) {
|
||||
$return[$key] = $value;
|
||||
} elseif ($value instanceof \CURLStringFile) {
|
||||
$return[$key] = $value;
|
||||
} else {
|
||||
$return = array_merge(
|
||||
$return,
|
||||
|
||||
Reference in New Issue
Block a user