@@ -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 |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | |
60 | 60 | $configObject = Configuration::loadFromArray( |
61 | 61 | $config, |
62 | - 'authsources[' . var_export($this->authId, true) . ']' |
|
62 | + 'authsources['.var_export($this->authId, true).']' |
|
63 | 63 | ); |
64 | 64 | |
65 | 65 | $this->key = $configObject->getString('key'); |
@@ -137,9 +137,9 @@ discard block |
||
137 | 137 | $state['token_credentials'] = serialize($tokenCredentials); |
138 | 138 | $userdata = $server->getUserDetails($tokenCredentials); |
139 | 139 | |
140 | - $attributes['twitter_at_screen_name'] = ['@' . $userdata>uid]; |
|
141 | - $attributes['twitter_screen_n_realm'] = [$userdata->uid . '@twitter.com']; |
|
142 | - $attributes['twitter_targetedID'] = ['http://twitter.com!' . $userdata->uid]; |
|
140 | + $attributes['twitter_at_screen_name'] = ['@'.$userdata > uid]; |
|
141 | + $attributes['twitter_screen_n_realm'] = [$userdata->uid.'@twitter.com']; |
|
142 | + $attributes['twitter_targetedID'] = ['http://twitter.com!'.$userdata->uid]; |
|
143 | 143 | |
144 | 144 | $state['Attributes'] = $attributes; |
145 | 145 | } |