@@ -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.php') |
| 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 | } |