mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-18 02:59:45 +05:30
Merge pull request #236 from gabrielsch/patch-1
Fixing docblock indentation
This commit is contained in:
commit
b50f7ce04e
@ -16,16 +16,16 @@ namespace League\OAuth2\Server\Util;
|
|||||||
*/
|
*/
|
||||||
class RedirectUri
|
class RedirectUri
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Generate a new redirect uri
|
* Generate a new redirect uri
|
||||||
* @param string $uri The base URI
|
* @param string $uri The base URI
|
||||||
* @param array $params The query string parameters
|
* @param array $params The query string parameters
|
||||||
* @param string $queryDelimeter The query string delimeter (default: "?")
|
* @param string $queryDelimeter The query string delimeter (default: "?")
|
||||||
* @return string The updated URI
|
* @return string The updated URI
|
||||||
*/
|
*/
|
||||||
public static function make($uri, $params = array(), $queryDelimeter = '?')
|
public static function make($uri, $params = array(), $queryDelimeter = '?')
|
||||||
{
|
{
|
||||||
$uri .= (strstr($uri, $queryDelimeter) === false) ? $queryDelimeter : '&';
|
$uri .= (strstr($uri, $queryDelimeter) === false) ? $queryDelimeter : '&';
|
||||||
return $uri.http_build_query($params);
|
return $uri.http_build_query($params);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user