mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #8625 from cakephp/jrbasso/2.x-fix-doc
Fixed doc formatting on CakeResponse::cookie
This commit is contained in:
commit
1d4e39a45a
1 changed files with 2 additions and 3 deletions
|
@ -1191,9 +1191,6 @@ class CakeResponse {
|
||||||
* If the method is called with an array as argument, it will set the cookie
|
* If the method is called with an array as argument, it will set the cookie
|
||||||
* configuration to the cookie container.
|
* 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)
|
* ### Options (when setting a configuration)
|
||||||
* - name: The Cookie name
|
* - name: The Cookie name
|
||||||
* - value: Value of the cookie
|
* - value: Value of the cookie
|
||||||
|
@ -1217,6 +1214,8 @@ class CakeResponse {
|
||||||
*
|
*
|
||||||
* `$this->cookie((array) $options)`
|
* `$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
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function cookie($options = null) {
|
public function cookie($options = null) {
|
||||||
|
|
Loading…
Reference in a new issue