[HttpKernel] fixed typos
This commit is contained in:
parent
bd9f11f8f6
commit
aa98c184ac
@ -209,15 +209,15 @@ class HeaderBag
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (null !== $this->expires) {
|
if (null !== $expires) {
|
||||||
$cookie .= '; expires='.substr(\DateTime::createFromFormat('U', $expires, new \DateTimeZone('UTC'))->format('D, d-M-Y H:i:s T'), 0, -5);
|
$cookie .= '; expires='.substr(\DateTime::createFromFormat('U', $expires, new \DateTimeZone('UTC'))->format('D, d-M-Y H:i:s T'), 0, -5);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ('/' !== $this->path) {
|
if ('/' !== $path) {
|
||||||
$cookie .= '; path='.$path;
|
$cookie .= '; path='.$path;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ('' !== $this->domain) {
|
if ('' !== $domain) {
|
||||||
$cookie .= '; domain='.$domain;
|
$cookie .= '; domain='.$domain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user