File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed 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()
122122 public function testNormalizeBodyMultipartForwardStream ($ stream )
123123 {
124124 $ body = [
125- 'logo ' => $ stream ,
125+ 'logo ' => $ stream() ,
126126 ];
127127
128128 $ headers = [];
@@ -153,8 +153,8 @@ public function testNormalizeBodyMultipartForwardStream($stream)
153153
154154 public static function provideNormalizeBodyMultipartForwardStream ()
155155 {
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 ()];
158158 }
159159
160160 /**
You can’t perform that action at this time.
0 commit comments