Skip to content

Commit 8157514

Browse files
authored
Unquote array shape field names
Otherwise optionals don't work. See #66
1 parent dbaa2d3 commit 8157514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/MultipartStreamBuilder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function addData($resource, array $headers = [])
9393
*
9494
* @param string $name the formpost name
9595
* @param string|resource|StreamInterface $resource
96-
* @param array{'headers?': array<string, string>, 'filename?': string} $options
96+
* @param array{headers?: array<string, string>, filename?: string} $options
9797
*
9898
* Options:
9999
* - headers: additional headers as hashmap ['header-name' => 'header-value']

0 commit comments

Comments
 (0)