Skip to content

Commit 825153b

Browse files
ruudkdbu
andauthored
Unquote array shape field names (#67)
* Unquote array shape field names Otherwise optionals don't work. See #66 * align parameter phpdoc --------- Co-authored-by: David Buchmann <[email protected]>
1 parent dbaa2d3 commit 825153b

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)