@@ -26,26 +26,26 @@ |
||
26 | 26 | * |
27 | 27 | * @return string|null |
28 | 28 | */ |
29 | - public function getUsername() : ?string; |
|
29 | + public function getUsername() : ? string; |
|
30 | 30 | |
31 | 31 | /** |
32 | 32 | * Returns the full name bound to the Identity. |
33 | 33 | * |
34 | 34 | * @return string|null |
35 | 35 | */ |
36 | - public function getName() : ?string; |
|
36 | + public function getName() : ? string; |
|
37 | 37 | |
38 | 38 | /** |
39 | 39 | * Returns the e-mail address bound to the Identity. |
40 | 40 | * |
41 | 41 | * @return string|null |
42 | 42 | */ |
43 | - public function getEmail() : ?string; |
|
43 | + public function getEmail() : ? string; |
|
44 | 44 | |
45 | 45 | /** |
46 | 46 | * Returns the avatar URI bound to the Identity. |
47 | 47 | * |
48 | 48 | * @return string|null |
49 | 49 | */ |
50 | - public function getAvatar() : ?string; |
|
50 | + public function getAvatar() : ? string; |
|
51 | 51 | } |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | protected function normalizeParameters(array $params) : array |
96 | 96 | { |
97 | 97 | // Recursively percent encode each key/value pair in the params. |
98 | - array_walk_recursive($params, function (&$key, &$value) { |
|
98 | + array_walk_recursive($params, function(&$key, &$value) { |
|
99 | 99 | $key = rawurlencode(rawurldecode($key)); |
100 | 100 | $value = rawurlencode(rawurldecode($value)); |
101 | 101 | }); |
@@ -152,6 +152,6 @@ discard block |
||
152 | 152 | { |
153 | 153 | // The joining ampersand after the encoded Client's secret is correctly left in even if no Token is being |
154 | 154 | // included in the key. |
155 | - return rawurlencode($client->getSecret()) . '&' . (isset($token) ? rawurlencode($token->getSecret()) : ''); |
|
155 | + return rawurlencode($client->getSecret()).'&'.(isset($token) ? rawurlencode($token->getSecret()) : ''); |
|
156 | 156 | } |
157 | 157 | } |