@@ -30,15 +30,15 @@ |
||
30 | 30 | $url['query']['redirect_uri'] = $success.'?tenant='.urlencode($tenant).'&service='.urlencode($service); |
31 | 31 | $url['query'] = http_build_query($url['query']); |
32 | 32 | $authorizationUrl = (function(array $url) { |
33 | - $scheme = isset($url['scheme']) ? $url['scheme'] . '://' : ''; |
|
33 | + $scheme = isset($url['scheme']) ? $url['scheme'].'://' : ''; |
|
34 | 34 | $host = isset($url['host']) ? $url['host'] : ''; |
35 | - $port = isset($url['port']) ? ':' . $url['port'] : ''; |
|
35 | + $port = isset($url['port']) ? ':'.$url['port'] : ''; |
|
36 | 36 | $user = isset($url['user']) ? $url['user'] : ''; |
37 | - $pass = isset($url['pass']) ? ':' . $url['pass'] : ''; |
|
37 | + $pass = isset($url['pass']) ? ':'.$url['pass'] : ''; |
|
38 | 38 | $pass = ($user || $pass) ? "$pass@" : ''; |
39 | 39 | $path = isset($url['path']) ? $url['path'] : ''; |
40 | - $query = isset($url['query']) ? '?' . $url['query'] : ''; |
|
41 | - $fragment = isset($url['fragment']) ? '#' . $url['fragment'] : ''; |
|
40 | + $query = isset($url['query']) ? '?'.$url['query'] : ''; |
|
41 | + $fragment = isset($url['fragment']) ? '#'.$url['fragment'] : ''; |
|
42 | 42 | |
43 | 43 | return "$scheme$user$pass$host$port$path$query$fragment"; |
44 | 44 | })($url); |