Skip to content

Commit 276eb91

Browse files
authored
Make options optional again (#66)
Fix regression with the change in #66
1 parent 02a0e13 commit 276eb91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MultipartStreamBuilder.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ public function addData($resource, array $headers = [])
9191
/**
9292
* Add a resource to the Multipart Stream.
9393
*
94-
* @param string $name the formpost name
95-
* @param string|resource|StreamInterface $resource
96-
* @param array{'headers': array<string, string>, 'filename': string} $options
94+
* @param string $name the formpost name
95+
* @param string|resource|StreamInterface $resource
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)