Skip to content

Commit a57966c

Browse files
driesvintsgithub-actions[bot]
authored andcommitted
Fix code styling
1 parent d247835 commit a57966c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

app/Actions/ConnectGitHubAccount.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use App\Jobs\UpdateUserIdenticonStatus;
66
use App\Models\User;
77
use Laravel\Socialite\Two\User as SocialiteUser;
8+
89
use function dispatch;
910

1011
final class ConnectGitHubAccount

app/Http/Controllers/Auth/GitHubController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function handleProviderCallback(ConnectGitHubAccount $connectGitHubAccoun
5252
$existingUser = User::where('github_id', $socialiteUser->getId())
5353
->where('id', '!=', $currentUser->id)
5454
->first();
55-
55+
5656
if ($existingUser) {
5757
$this->error('This GitHub account is already connected to another user.');
5858
} else {

tests/Feature/GitHubAccountSettingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102

103103
function fakeSocialiteUser(string $id, string $nickname): SocialiteUser
104104
{
105-
return tap(new SocialiteUser())
105+
return tap(new SocialiteUser)
106106
->setRaw([
107107
'id' => $id,
108108
'login' => $nickname,

0 commit comments

Comments
 (0)