Fix old array_map() reference.

This commit is contained in:
Gary Jones 2012-11-17 23:14:25 +00:00
parent f896020b35
commit dc7230cbb4

View File

@ -6,7 +6,7 @@ class Util
public static function urlencodeRfc3986($input) public static function urlencodeRfc3986($input)
{ {
if (is_array($input)) { if (is_array($input)) {
return array_map(array('Eher\OAuth\Util', 'urlencode_rfc3986'), $input); return array_map(array('GaryJones\OAuth\Util', 'urlencodeRfc3986'), $input);
} elseif (is_scalar($input)) { } elseif (is_scalar($input)) {
return str_replace('+', ' ', str_replace('%7E', '~', rawurlencode($input))); return str_replace('+', ' ', str_replace('%7E', '~', rawurlencode($input)));
} else { } else {