Skip to content

Commit

Permalink
Add missing return type
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrowe committed Nov 8, 2013
1 parent 145dbac commit 9ee5efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Network/CakeRequest.php
Expand Up @@ -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'));
Expand Down

0 comments on commit 9ee5efa

Please sign in to comment.