File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ public function queue(...$parameters)
161161 * @param string|null $domain
162162 * @return void
163163 */
164- public function queueForget ($ name , $ path = null , $ domain = null )
164+ public function expire ($ name , $ path = null , $ domain = null )
165165 {
166166 $ this ->queue ($ this ->forget ($ name , $ path , $ domain ));
167167 }
Original file line number Diff line number Diff line change @@ -118,12 +118,12 @@ public function testHasQueuedWithPath(): void
118118 $ this ->assertFalse ($ cookieJar ->hasQueued ('foo ' , '/wrongPath ' ));
119119 }
120120
121- public function testQueueForget ()
121+ public function testExpire ()
122122 {
123123 $ cookieJar = $ this ->getCreator ();
124124 $ this ->assertCount (0 , $ cookieJar ->getQueuedCookies ());
125125
126- $ cookieJar ->queueForget ('foobar ' , '/path ' , '/domain ' );
126+ $ cookieJar ->expire ('foobar ' , '/path ' , '/domain ' );
127127
128128 $ cookie = $ cookieJar ->queued ('foobar ' );
129129 $ this ->assertEquals ('foobar ' , $ cookie ->getName ());
You can’t perform that action at this time.
0 commit comments