File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class AutodeskAPSExtendSocialite
9
9
/**
10
10
* Register the provider.
11
11
*
12
- * @param SocialiteWasCalled $socialiteWasCalled
12
+ * @param SocialiteWasCalled $socialiteWasCalled
13
13
*/
14
14
public function handle (SocialiteWasCalled $ socialiteWasCalled ): void
15
15
{
Original file line number Diff line number Diff line change @@ -44,11 +44,10 @@ protected function getTokenFields($code): array
44
44
}
45
45
46
46
/**
47
- * @param string $token
47
+ * @param string $token
48
+ * @return array
48
49
*
49
50
* @throws \GuzzleHttp\Exception\GuzzleException
50
- *
51
- * @return array
52
51
*/
53
52
protected function getUserByToken ($ token ): array
54
53
{
@@ -70,7 +69,7 @@ protected function getUserByToken($token): array
70
69
*
71
70
* {@inheritdoc}
72
71
*/
73
- protected function mapUserToObject (array $ user ): \ SocialiteProviders \ Manager \ OAuth2 \ User
72
+ protected function mapUserToObject (array $ user ): User
74
73
{
75
74
return (new User ())->setRaw ($ user )->map ([
76
75
'id ' => $ user ['userId ' ],
You can’t perform that action at this time.
0 commit comments