@@ -59,9 +59,9 @@ |
||
| 59 | 59 | $baseString = rawurlencode($method).'&'; |
| 60 | 60 | |
| 61 | 61 | $schemeHostPath = Uri::fromParts(array( |
| 62 | - 'scheme' => $url->getScheme(), |
|
| 63 | - 'host' => $url->getHost(), |
|
| 64 | - 'path' => $url->getPath(), |
|
| 62 | + 'scheme' => $url->getScheme(), |
|
| 63 | + 'host' => $url->getHost(), |
|
| 64 | + 'path' => $url->getPath(), |
|
| 65 | 65 | )); |
| 66 | 66 | |
| 67 | 67 | $baseString .= rawurlencode($schemeHostPath).'&'; |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | $data = array_merge($query, $parameters); |
| 72 | 72 | |
| 73 | 73 | // normalize data key/values |
| 74 | - array_walk_recursive($data, function (&$key, &$value) { |
|
| 74 | + array_walk_recursive($data, function(&$key, &$value) { |
|
| 75 | 75 | $key = rawurlencode(rawurldecode($key)); |
| 76 | 76 | $value = rawurlencode(rawurldecode($value)); |
| 77 | 77 | }); |
@@ -124,7 +124,7 @@ |
||
| 124 | 124 | if (!$this->scope) { |
| 125 | 125 | return ''; |
| 126 | 126 | } |
| 127 | - return '?scope=' . implode(',', $this->scope); |
|
| 127 | + return '?scope='.implode(',', $this->scope); |
|
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 | public function urlTokenCredentials() |