File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -585,7 +585,7 @@ public function setCookie($key, $value)
585
585
{
586
586
$ name_chars = array ();
587
587
foreach (str_split ($ key ) as $ name_char ) {
588
- if (!array_key_exists ($ name_char , CurlCookieConst::RFC2616 )) {
588
+ if (!array_key_exists ($ name_char , CurlCookieConst::RFC2616 () )) {
589
589
$ name_chars [] = rawurlencode ($ name_char );
590
590
} else {
591
591
$ name_chars [] = $ name_char ;
@@ -594,7 +594,7 @@ public function setCookie($key, $value)
594
594
595
595
$ value_chars = array ();
596
596
foreach (str_split ($ value ) as $ value_char ) {
597
- if (!array_key_exists ($ value_char , CurlCookieConst::RFC6265 )) {
597
+ if (!array_key_exists ($ value_char , CurlCookieConst::RFC6265 () )) {
598
598
$ value_chars [] = rawurlencode ($ value_char );
599
599
} else {
600
600
$ value_chars [] = $ value_char ;
You can’t perform that action at this time.
0 commit comments