File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -603,14 +603,6 @@ public function getCookieStore()
603
603
return $ this ->cookieStore ;
604
604
}
605
605
606
- /**
607
- * Sets the CookieStore.
608
- */
609
- public function setCookieStore (CookieStore $ cookieStore )
610
- {
611
- $ this ->cookieStore = $ cookieStore ;
612
- }
613
-
614
606
/**
615
607
* Checks to see if the Response has a specified cookie or not.
616
608
*/
Original file line number Diff line number Diff line change @@ -531,11 +531,8 @@ private function saveHashInCookie(): void
531
531
);
532
532
533
533
/** @var Response $response */
534
- $ response = Services::response ();
535
- $ cookieStore = $ response ->getCookieStore ();
536
- $ cookieStore = $ cookieStore ->put ($ this ->cookie );
537
-
538
- $ response ->setCookieStore ($ cookieStore );
534
+ $ response = Services::response ();
535
+ $ response ->setCookie ($ this ->cookie );
539
536
}
540
537
541
538
/**
You can’t perform that action at this time.
0 commit comments