From af77e76589b1a1faee174e99f945495910d94752 Mon Sep 17 00:00:00 2001 From: Thibaut Selingue Date: Tue, 2 Jun 2020 16:42:00 +0200 Subject: [PATCH] Fix withExpiresTime replaced by withExpires --- components/http_foundation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/http_foundation.rst b/components/http_foundation.rst index aaa43dd78a5..e29c16ff384 100644 --- a/components/http_foundation.rst +++ b/components/http_foundation.rst @@ -451,7 +451,7 @@ a new object with the modified property:: $cookie = Cookie::create('foo') ->withValue('bar') - ->withExpiresTime(strtotime('Fri, 20-May-2011 15:25:52 GMT')) + ->withExpires(strtotime('Fri, 20-May-2011 15:25:52 GMT')) ->withDomain('.example.com') ->withSecure(true);