Skip to content

Commit

Permalink
use array shape for phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Sep 1, 2024
1 parent 4087940 commit ad3d012
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/MultipartStreamBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ 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 $options {
* @param string $name the formpost name
* @param string|resource|StreamInterface $resource
* @param array{'headers': array<string, string>, 'filename': string} $options
*
* @var array $headers additional headers ['header-name' => 'header-value']
* @var string $filename
* }
* Options:
* - headers: additional headers as hashmap ['header-name' => 'header-value']
* - filename: used to determine the mime type
*
* @return MultipartStreamBuilder
*/
Expand Down

0 comments on commit ad3d012

Please sign in to comment.