File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99use Symfony \Component \HttpFoundation \BinaryFileResponse ;
1010use Symfony \Component \HttpFoundation \Cookie ;
1111use Symfony \Component \HttpFoundation \File \UploadedFile ;
12- use Symfony \Component \HttpFoundation \HeaderBag ;
1312use Symfony \Component \HttpFoundation \Request as SymfonyRequest ;
1413use Symfony \Component \HttpFoundation \Response as SymfonyResponse ;
14+ use Symfony \Component \HttpFoundation \ResponseHeaderBag ;
1515use Symfony \Component \HttpFoundation \StreamedResponse ;
1616
1717/**
@@ -64,7 +64,7 @@ public function testThatSymfonyResponseIsReflected(): void
6464 $ barCookie = (string ) new Cookie ('bar ' , '234 ' );
6565
6666 $ sfResponse = $ this ->createMock (SymfonyResponse::class);
67- $ sfResponse ->headers = new HeaderBag ([
67+ $ sfResponse ->headers = new ResponseHeaderBag ([
6868 'X-Test ' => 'Swoole-Runtime ' ,
6969 'Set-Cookie ' => [$ fooCookie , $ barCookie ],
7070 ]);
You can’t perform that action at this time.
0 commit comments