Permalink
Browse files

Update doc block.

  • Loading branch information...
1 parent 76fe9f8 commit 631da2d04adbe2838a757a85ded421c0ae88393f @markstory markstory committed Jan 18, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Cake/Controller/Component/CookieComponent.php
View
3 lib/Cake/Controller/Component/CookieComponent.php
@@ -208,7 +208,8 @@ public function startup(Controller $controller) {
* @param string|array $key Key for the value
* @param mixed $value Value
* @param boolean $encrypt Set to true to encrypt value, false otherwise
- * @param integer|string $expires Can be either Unix timestamp, or date string
+ * @param integer|string $expires Can be either the number of seconds until a cookie
+ * expires, or a strtotime compatible time offset.
* @return void
* @link http://book.cakephp.org/2.0/en/core-libraries/components/cookie.html#CookieComponent::write
*/

0 comments on commit 631da2d

Please sign in to comment.