Merge pull request #13985 from bancer/patch-13

Improve doc block
This commit is contained in:
Mark Sch 2019-12-06 11:51:25 +01:00 committed by GitHub
commit 16e8adce30
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);
*
* @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
*/
public function read($key = null) {