This repository was archived by the owner on May 31, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ class CsrfToken
21
21
private $ id ;
22
22
private $ value ;
23
23
24
- public function __construct (string $ id , string $ value )
24
+ public function __construct (string $ id , ? string $ value )
25
25
{
26
26
$ this ->id = $ id ;
27
- $ this ->value = $ value ;
27
+ $ this ->value = $ value ?? '' ;
28
28
}
29
29
30
30
/**
Original file line number Diff line number Diff line change 20
20
"symfony/security-core" : " ~3.4|~4.0"
21
21
},
22
22
"require-dev" : {
23
- "symfony/http-foundation" : " ~3.4|~4.0"
23
+ "symfony/http-foundation" : " ~3.4-beta5|~4.0-beta5"
24
+ },
25
+ "conflict" : {
26
+ "symfony/http-foundation" : " <3.4-beta5|~4.0,<4.0-beta5"
24
27
},
25
28
"suggest" : {
26
29
"symfony/http-foundation" : " For using the class SessionTokenStorage."
Original file line number Diff line number Diff line change 18
18
"require" : {
19
19
"php" : " ^7.1.3" ,
20
20
"symfony/event-dispatcher" : " ~3.4|~4.0" ,
21
- "symfony/http-foundation" : " ~3.4|~4.0" ,
21
+ "symfony/http-foundation" : " ~3.4-beta5 |~4.0-beta5 " ,
22
22
"symfony/http-kernel" : " ~3.4|~4.0" ,
23
23
"symfony/property-access" : " ~3.4|~4.0"
24
24
},
You can’t perform that action at this time.
0 commit comments