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 1
1
{
2
2
"name" : " runtime/swoole" ,
3
- "type" : " library" ,
4
3
"description" : " Swoole runtime" ,
5
4
"license" : " MIT" ,
5
+ "type" : " library" ,
6
6
"authors" : [
7
7
{
8
8
"name" : " Tobias Nyholm" ,
12
12
"require" : {
13
13
"symfony/runtime" : " ^5.3 || ^6.0"
14
14
},
15
- "conflict" : {
16
- "ext-swoole" : " <4.6.0"
17
- },
18
15
"require-dev" : {
19
16
"illuminate/http" : " ^8.48" ,
20
17
"swoole/ide-helper" : " ^4.6" ,
21
18
"symfony/http-foundation" : " ^5.3 || ^6.0" ,
22
19
"symfony/http-kernel" : " ^5.4 || ^6.0" ,
23
20
"symfony/phpunit-bridge" : " ^5.3"
24
21
},
22
+ "conflict" : {
23
+ "ext-swoole" : " <4.6.0"
24
+ },
25
+ "minimum-stability" : " dev" ,
26
+ "prefer-stable" : true ,
25
27
"autoload" : {
26
28
"psr-4" : {
27
29
"Runtime\\ Swoole\\ " : " src/"
31
33
"psr-4" : {
32
34
"Runtime\\ Swoole\\ Tests\\ " : " tests/"
33
35
}
34
- },
35
- "minimum-stability" : " dev" ,
36
- "prefer-stable" : true
36
+ }
37
37
}
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public static function convertSwooleRequest(Request $request): SymfonyRequest
38
38
public static function reflectSymfonyResponse (SymfonyResponse $ sfResponse , Response $ response ): void
39
39
{
40
40
foreach ($ sfResponse ->headers ->all () as $ name => $ values ) {
41
- $ response ->header ($ name , $ values );
41
+ $ response ->header (( string ) $ name , $ values );
42
42
}
43
43
44
44
$ response ->status ($ sfResponse ->getStatusCode ());
You can’t perform that action at this time.
0 commit comments