summaryrefslogtreecommitdiff
path: root/php-src
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-13 14:02:14 +0300
committerWolfy-J <[email protected]>2018-06-13 14:02:14 +0300
commitb58bbaa615f38916860e06db27e2ab31b0eb2d08 (patch)
tree8e446b203dd3c2ab47147a6efd864416a88af841 /php-src
parent8b24183daa620bb12edf78f6e81697532cbc92d8 (diff)
more tests for files!
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']
);
}