summaryrefslogtreecommitdiff
path: root/php-src
diff options
context:
space:
mode:
Diffstat (limited to 'php-src')
-rw-r--r--php-src/PSR7Client.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/php-src/PSR7Client.php b/php-src/PSR7Client.php
index c3cdf844..f8913a8d 100644
--- a/php-src/PSR7Client.php
+++ b/php-src/PSR7Client.php
@@ -117,13 +117,12 @@ class PSR7Client
continue;
}
-
$result[$index] = new Diactoros\UploadedFile(
$file['tmpName'],
$file['size'],
$file['error'],
$file['name'],
- $file['type']
+ $file['mime']
);
}