Improve doc block

This commit is contained in:
Val Bancer 2019-12-06 10:41:45 +01:00 committed by GitHub
parent 0992fa1c41
commit c59f021c4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -248,7 +248,7 @@ class CookieComponent extends Component {
* $this->Cookie->read(Name.key); * $this->Cookie->read(Name.key);
* *
* @param string $key Key of the value to be obtained. If none specified, obtain map key => values * @param string $key Key of the value to be obtained. If none specified, obtain map key => values
* @return string|null Value for specified key * @return string|array|null Value for specified key
* @link https://book.cakephp.org/2.0/en/core-libraries/components/cookie.html#CookieComponent::read * @link https://book.cakephp.org/2.0/en/core-libraries/components/cookie.html#CookieComponent::read
*/ */
public function read($key = null) { public function read($key = null) {