Skip to content

Commit

Permalink
Make options optional again (#66)
Browse files Browse the repository at this point in the history
Fix regression with the change in #66
  • Loading branch information
ruudk authored Sep 4, 2024
1 parent 02a0e13 commit 276eb91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/MultipartStreamBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ public function addData($resource, array $headers = [])
/**
* Add a resource to the Multipart Stream.
*
* @param string $name the formpost name
* @param string|resource|StreamInterface $resource
* @param array{'headers': array<string, string>, 'filename': string} $options
* @param string $name the formpost name
* @param string|resource|StreamInterface $resource
* @param array{'headers?': array<string, string>, 'filename?': string} $options
*
* Options:
* - headers: additional headers as hashmap ['header-name' => 'header-value']
Expand Down

0 comments on commit 276eb91

Please sign in to comment.