@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | |
65 | 65 | // Find authentication source |
66 | 66 | if (is_null($state) || !array_key_exists(TwitterSource::AUTHID, $state)) { |
67 | - throw new Error\BadRequest('No data in state for ' . TwitterSource::AUTHID); |
|
67 | + throw new Error\BadRequest('No data in state for '.TwitterSource::AUTHID); |
|
68 | 68 | } |
69 | 69 | |
70 | 70 | $sourceId = $state[TwitterSource::AUTHID]; |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | |
75 | 75 | if ($source === null) { |
76 | 76 | throw new Error\BadRequest( |
77 | - 'Could not find authentication source with id ' . var_export($sourceId, true) |
|
77 | + 'Could not find authentication source with id '.var_export($sourceId, true) |
|
78 | 78 | ); |
79 | 79 | } |
80 | 80 |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | |
56 | 56 | $configObject = Configuration::loadFromArray( |
57 | 57 | $config, |
58 | - 'authsources[' . var_export($this->authId, true) . ']' |
|
58 | + 'authsources['.var_export($this->authId, true).']' |
|
59 | 59 | ); |
60 | 60 | |
61 | 61 | $this->key = $configObject->getString('key'); |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | 'identifier' => $this->key, |
94 | 94 | 'secret' => $this->secret, |
95 | 95 | 'callback_uri' => Module::getModuleURL('authtwitter/linkback') |
96 | - . '?AuthState=' . $stateId . '&force_login=' . strval($this->force_login), |
|
96 | + . '?AuthState='.$stateId.'&force_login='.strval($this->force_login), |
|
97 | 97 | 'scope' => $this->scope, |
98 | 98 | ] |
99 | 99 | ); |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | |
153 | 153 | foreach ($userdata->getIterator() as $key => $value) { |
154 | 154 | if (is_string($value) && (strlen($value) > 0)) { |
155 | - $attributes['twitter.' . $key] = [$value]; |
|
155 | + $attributes['twitter.'.$key] = [$value]; |
|
156 | 156 | } else { |
157 | 157 | // Either the urls or the extra array |
158 | 158 | } |