Permalink
Browse files

Add missing return type

  • Loading branch information...
1 parent 145dbac commit 9ee5efaa2d750a40a85fbf94219b65617f47b865 @bcrowe bcrowe committed Nov 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Network/CakeRequest.php
@@ -756,7 +756,7 @@ public function parseAccept() {
* {{{ 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'));

0 comments on commit 9ee5efa

Please sign in to comment.