Skip to content

Commit 4927b51

Browse files
authored
Add a coding standards GA to fix code with Laravel Pint. (#1064)
1 parent d25ba43 commit 4927b51

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

AutodeskAPSExtendSocialite.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class AutodeskAPSExtendSocialite
99
/**
1010
* Register the provider.
1111
*
12-
* @param SocialiteWasCalled $socialiteWasCalled
12+
* @param SocialiteWasCalled $socialiteWasCalled
1313
*/
1414
public function handle(SocialiteWasCalled $socialiteWasCalled): void
1515
{

Provider.php

+3-4
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ protected function getTokenFields($code): array
4444
}
4545

4646
/**
47-
* @param string $token
47+
* @param string $token
48+
* @return array
4849
*
4950
* @throws \GuzzleHttp\Exception\GuzzleException
50-
*
51-
* @return array
5251
*/
5352
protected function getUserByToken($token): array
5453
{
@@ -70,7 +69,7 @@ protected function getUserByToken($token): array
7069
*
7170
* {@inheritdoc}
7271
*/
73-
protected function mapUserToObject(array $user): \SocialiteProviders\Manager\OAuth2\User
72+
protected function mapUserToObject(array $user): User
7473
{
7574
return (new User())->setRaw($user)->map([
7675
'id' => $user['userId'],

0 commit comments

Comments
 (0)