mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 17:56:14 +05:30
Fixing docblock indentation
This commit is contained in:
parent
13cd0cacdf
commit
b2514e35f4
@ -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