Skip to content

Commit af77e76

Browse files
committed
Fix withExpiresTime replaced by withExpires
1 parent e7339e7 commit af77e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/http_foundation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ a new object with the modified property::
451451

452452
$cookie = Cookie::create('foo')
453453
->withValue('bar')
454-
->withExpiresTime(strtotime('Fri, 20-May-2011 15:25:52 GMT'))
454+
->withExpires(strtotime('Fri, 20-May-2011 15:25:52 GMT'))
455455
->withDomain('.example.com')
456456
->withSecure(true);
457457

0 commit comments

Comments
 (0)