We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b7be776 + 55a9676 commit 78463eaCopy full SHA for 78463ea
components/multipart-stream-builder.rst
@@ -46,7 +46,7 @@ To build a multipart stream you may use the ``MultipartStreamBuilder``. It is no
46
$builder
47
->addResource('foo', $stream)
48
->addResource('bar', fopen($filePath, 'r'), ['filename' => 'bar.png'])
49
- ->addResource('baz', 'string', ['headers' => ['Content-Type' => 'text/plain']]);
+ ->addData('baz', ['headers' => ['Content-Type' => 'text/plain']]);
50
51
$multipartStream = $builder->build();
52
$boundary = $builder->getBoundary();
0 commit comments