Add missing return type

This commit is contained in:
Bryan Crowe 2013-11-07 22:14:11 -05:00
parent 145dbacb78
commit 9ee5efaa2d

View file

@ -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'));