Browse files

Fix typo

  • Loading branch information...
1 parent 93a46cd commit 348a7a257a95f4e0d766b87ba4902fa28cc0e778 @predominant predominant committed Dec 1, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 cake/libs/controller/components/cookie.php
View
6 cake/libs/controller/components/cookie.php
@@ -174,7 +174,7 @@ function startup() {
/**
* Write a value to the $_COOKIE[$key];
*
- * Optional [Name.], reguired key, optional $value, optional $encrypt, optional $expires
+ * Optional [Name.], required key, optional $value, optional $encrypt, optional $expires
* $this->Cookie->write('[Name.]key, $value);
*
* By default all values are encrypted.
@@ -225,7 +225,7 @@ function write($key, $value = null, $encrypt = true, $expires = null) {
/**
* Read the value of the $_COOKIE[$key];
*
- * Optional [Name.], reguired key
+ * Optional [Name.], required key
* $this->Cookie->read(Name.key);
*
* @param mixed $key Key of the value to be obtained. If none specified, obtain map key => values
@@ -260,7 +260,7 @@ function read($key = null) {
/**
* Delete a cookie value
*
- * Optional [Name.], reguired key
+ * Optional [Name.], required key
* $this->Cookie->read('Name.key);
*
* You must use this method before any output is sent to the browser.

0 comments on commit 348a7a2

Please sign in to comment.