Permalink
Browse files

[HttpFoundation] Rename HeaderBag::validateCookieName to HeaderBag::v…

…alidateCookie
  • Loading branch information...
1 parent 67f6889 commit faf0182be0c394f5f69dc01d05b8c11db606b8cc @ornicar ornicar committed with fabpot Nov 21, 2010
@@ -175,7 +175,7 @@ public function delete($key)
*/
public function setCookie($name, $value, $domain = null, $expires = null, $path = '/', $secure = false, $httponly = true)
{
- $this->validateCookieName($name, $value);
+ $this->validateCookie($name, $value);
return $this->set('Cookie', sprintf('%s=%s', $name, urlencode($value)));
}
@@ -63,7 +63,7 @@ public function delete($key)
*/
public function setCookie($name, $value, $domain = null, $expires = null, $path = '/', $secure = false, $httponly = true)
{
- $this->validateCookieName($name, $value);
+ $this->validateCookie($name, $value);
$cookie = sprintf('%s=%s', $name, urlencode($value));

0 comments on commit faf0182

Please sign in to comment.