Skip to content

Commit

Permalink
Apply fixes from StyleCI (overtrue#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue authored Mar 26, 2019
1 parent 3b87836 commit ff133cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Providers/DouYinProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ protected function getAuthUrl($state)
return $this->buildAuthUrlFromBase($this->baseUrl.'/platform/oauth/connect', $state);
}


/**
* 获取授权码接口参数.
*
Expand Down Expand Up @@ -131,6 +130,7 @@ protected function parseAccessToken($body)
* 通过token 获取用户信息.
*
* @param AccessTokenInterface $token
*
* @return array|mixed
*/
protected function getUserByToken(AccessTokenInterface $token)
Expand Down Expand Up @@ -165,5 +165,4 @@ protected function mapUserToObject(array $user)
'avatar' => $this->arrayItem($user, 'avatar'),
]);
}

}

0 comments on commit ff133cd

Please sign in to comment.