Skip to content

Commit

Permalink
Change cookie helper signature to match CookieFactory (#31974)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmason30 authored Mar 15, 2020
1 parent 2b600ce commit 07f225a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Foundation/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,13 +299,13 @@ function config_path($path = '')
* @param int $minutes
* @param string|null $path
* @param string|null $domain
* @param bool $secure
* @param bool|null $secure
* @param bool $httpOnly
* @param bool $raw
* @param string|null $sameSite
* @return \Illuminate\Cookie\CookieJar|\Symfony\Component\HttpFoundation\Cookie
*/
function cookie($name = null, $value = null, $minutes = 0, $path = null, $domain = null, $secure = false, $httpOnly = true, $raw = false, $sameSite = null)
function cookie($name = null, $value = null, $minutes = 0, $path = null, $domain = null, $secure = null, $httpOnly = true, $raw = false, $sameSite = null)
{
$cookie = app(CookieFactory::class);

Expand Down

0 comments on commit 07f225a

Please sign in to comment.