Merge pull request #236 from gabrielsch/patch-1

Fixing docblock indentation
This commit is contained in:
Alex Bilbie 2014-11-03 06:02:49 -05:00
commit b50f7ce04e

View File

@ -16,16 +16,16 @@ namespace League\OAuth2\Server\Util;
*/
class RedirectUri
{
/**
* Generate a new redirect uri
* @param string $uri The base URI
* @param array $params The query string parameters
* @param string $queryDelimeter The query string delimeter (default: "?")
* @return string The updated URI
*/
/**
* Generate a new redirect uri
* @param string $uri The base URI
* @param array $params The query string parameters
* @param string $queryDelimeter The query string delimeter (default: "?")
* @return string The updated URI
*/
public static function make($uri, $params = array(), $queryDelimeter = '?')
{
$uri .= (strstr($uri, $queryDelimeter) === false) ? $queryDelimeter : '&';
return $uri.http_build_query($params);
}
}
}