Skip to content

Commit f0444ae

Browse files
authored
Make options optional again
This was done incorrectly in #65
1 parent 02a0e13 commit f0444ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/MultipartStreamBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ 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
97-
*
96+
* @param array{'headers?': array<string, string>, 'filename?': string} $options
97+
9898
* Options:
9999
* - headers: additional headers as hashmap ['header-name' => 'header-value']
100100
* - filename: used to determine the mime type

0 commit comments

Comments
 (0)