Skip to content

Commit becc534

Browse files
authored
Merge pull request #13 from php-http/Nyholm-patch-1
Initialize $data with an array.
2 parents 29f8b0a + f1a880c commit becc534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MultipartStreamBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class MultipartStreamBuilder
3333
/**
3434
* @var array Element where each Element is an array with keys ['contents', 'headers', 'filename']
3535
*/
36-
private $data;
36+
private $data = [];
3737

3838
/**
3939
* @param StreamFactory|null $streamFactory

0 commit comments

Comments
 (0)