From 9ee5efaa2d750a40a85fbf94219b65617f47b865 Mon Sep 17 00:00:00 2001 From: Bryan Crowe Date: Thu, 7 Nov 2013 22:14:11 -0500 Subject: [PATCH] Add missing return type --- lib/Cake/Network/CakeRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Network/CakeRequest.php b/lib/Cake/Network/CakeRequest.php index b325f26f4..529ff726c 100644 --- a/lib/Cake/Network/CakeRequest.php +++ b/lib/Cake/Network/CakeRequest.php @@ -756,7 +756,7 @@ class CakeRequest implements ArrayAccess { * {{{ CakeRequest::acceptLanguage('es-es'); }}} * * @param string $language The language to test. - * @return If a $language is provided, a boolean. Otherwise the array of accepted languages. + * @return mixed If a $language is provided, a boolean. Otherwise the array of accepted languages. */ public static function acceptLanguage($language = null) { $raw = self::_parseAcceptWithQualifier(self::header('Accept-Language'));