From c59f021c4e98498769c0b96f4be77ed320227d35 Mon Sep 17 00:00:00 2001 From: Val Bancer Date: Fri, 6 Dec 2019 10:41:45 +0100 Subject: [PATCH] Improve doc block --- lib/Cake/Controller/Component/CookieComponent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Controller/Component/CookieComponent.php b/lib/Cake/Controller/Component/CookieComponent.php index 1d01e227d..7d07d8695 100644 --- a/lib/Cake/Controller/Component/CookieComponent.php +++ b/lib/Cake/Controller/Component/CookieComponent.php @@ -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) {