File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " runtime/swoole" ,
3- "type" : " library" ,
43 "description" : " Swoole runtime" ,
54 "license" : " MIT" ,
5+ "type" : " library" ,
66 "authors" : [
77 {
88 "name" : " Tobias Nyholm" ,
1212 "require" : {
1313 "symfony/runtime" : " ^5.3 || ^6.0"
1414 },
15- "conflict" : {
16- "ext-swoole" : " <4.6.0"
17- },
1815 "require-dev" : {
1916 "illuminate/http" : " ^8.48" ,
2017 "swoole/ide-helper" : " ^4.6" ,
2118 "symfony/http-foundation" : " ^5.3 || ^6.0" ,
2219 "symfony/http-kernel" : " ^5.4 || ^6.0" ,
2320 "symfony/phpunit-bridge" : " ^5.3"
2421 },
22+ "conflict" : {
23+ "ext-swoole" : " <4.6.0"
24+ },
25+ "minimum-stability" : " dev" ,
26+ "prefer-stable" : true ,
2527 "autoload" : {
2628 "psr-4" : {
2729 "Runtime\\ Swoole\\ " : " src/"
3133 "psr-4" : {
3234 "Runtime\\ Swoole\\ Tests\\ " : " tests/"
3335 }
34- },
35- "minimum-stability" : " dev" ,
36- "prefer-stable" : true
36+ }
3737}
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public static function convertSwooleRequest(Request $request): SymfonyRequest
3838 public static function reflectSymfonyResponse (SymfonyResponse $ sfResponse , Response $ response ): void
3939 {
4040 foreach ($ sfResponse ->headers ->all () as $ name => $ values ) {
41- $ response ->header ($ name , $ values );
41+ $ response ->header (( string ) $ name , $ values );
4242 }
4343
4444 $ response ->status ($ sfResponse ->getStatusCode ());
You can’t perform that action at this time.
0 commit comments