Browse Source

Add link to cookie RFC for reference.

Mark Story 9 years ago
parent
commit
1c6610cc7a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Http/Cookie/Cookie.php

+ 1 - 0
src/Http/Cookie/Cookie.php

@@ -268,6 +268,7 @@ class Cookie implements CookieInterface
      * @param string $name Name of the cookie
      * @return void
      * @throws \InvalidArgumentException
+     * @link https://tools.ietf.org/html/rfc2616#section-2.2 Rules for naming cookies.
      */
     protected function validateName($name)
     {