Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | public function tokenData(): array |
||
33 | { |
||
34 | return [ |
||
35 | 'profile_id' => ArrayHelper::getValue($this->profile, 'id'), |
||
36 | 'profile_url' => 'https://twitter.com/' . ArrayHelper::getValue($this->profile, 'screen_name'), |
||
37 | 'access_token' => ArrayHelper::getValue($this->token, 'oauth_token'), |
||
38 | 'access_token_secret' => ArrayHelper::getValue($this->token, 'oauth_token_secret') |
||
39 | ]; |
||
40 | } |
||
41 | |||
56 |