From ff133cdeb682d701367c95c31ce5a40fe608bceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E6=AD=A3=E8=B6=85?= Date: Tue, 26 Mar 2019 15:53:43 +0800 Subject: [PATCH] Apply fixes from StyleCI (#123) --- src/Providers/DouYinProvider.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Providers/DouYinProvider.php b/src/Providers/DouYinProvider.php index c0077e6..6e0b108 100644 --- a/src/Providers/DouYinProvider.php +++ b/src/Providers/DouYinProvider.php @@ -40,7 +40,6 @@ protected function getAuthUrl($state) return $this->buildAuthUrlFromBase($this->baseUrl.'/platform/oauth/connect', $state); } - /** * 获取授权码接口参数. * @@ -131,6 +130,7 @@ protected function parseAccessToken($body) * 通过token 获取用户信息. * * @param AccessTokenInterface $token + * * @return array|mixed */ protected function getUserByToken(AccessTokenInterface $token) @@ -165,5 +165,4 @@ protected function mapUserToObject(array $user) 'avatar' => $this->arrayItem($user, 'avatar'), ]); } - }