Merge pull request #8625 from cakephp/jrbasso/2.x-fix-doc

Fixed doc formatting on CakeResponse::cookie
This commit is contained in:
Mark Story 2016-04-11 15:05:23 -04:00
commit 1d4e39a45a

View file

@ -1191,9 +1191,6 @@ class CakeResponse {
* If the method is called with an array as argument, it will set the cookie
* configuration to the cookie container.
*
* @param array $options Either null to get all cookies, string for a specific cookie
* or array to set cookie.
*
* ### Options (when setting a configuration)
* - name: The Cookie name
* - value: Value of the cookie
@ -1217,6 +1214,8 @@ class CakeResponse {
*
* `$this->cookie((array) $options)`
*
* @param array $options Either null to get all cookies, string for a specific cookie
* or array to set cookie.
* @return mixed
*/
public function cookie($options = null) {