File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Symfony/Component/HttpClient/Tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ public function testNormalizeBodyMultipart()
122
122
public function testNormalizeBodyMultipartForwardStream ($ stream )
123
123
{
124
124
$ body = [
125
- 'logo ' => $ stream ,
125
+ 'logo ' => $ stream() ,
126
126
];
127
127
128
128
$ headers = [];
@@ -153,8 +153,8 @@ public function testNormalizeBodyMultipartForwardStream($stream)
153
153
154
154
public static function provideNormalizeBodyMultipartForwardStream ()
155
155
{
156
- yield 'native ' => [fopen ('https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png ' , 'r ' )];
157
- yield 'symfony ' => [HttpClient::create ()->request ('GET ' , 'https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png ' )->toStream ()];
156
+ yield 'native ' => [static fn () => fopen ('https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png ' , 'r ' )];
157
+ yield 'symfony ' => [static fn () => HttpClient::create ()->request ('GET ' , 'https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png ' )->toStream ()];
158
158
}
159
159
160
160
/**
You can’t perform that action at this time.
0 commit comments