@@ -15,11 +15,11 @@ |
||
15 | 15 | */ |
16 | 16 | public function verify(string $token) |
17 | 17 | { |
18 | - $user = app(config('verify-new-email.model'))->whereToken($token)->firstOr(['*'], function () { |
|
18 | + $user = app(config('verify-new-email.model'))->whereToken($token)->firstOr(['*'], function() { |
|
19 | 19 | throw new InvalidVerificationLinkException( |
20 | 20 | __('The verification link is not valid anymore.') |
21 | 21 | ); |
22 | - })->tap(function ($pendingUserEmail) { |
|
22 | + })->tap(function($pendingUserEmail) { |
|
23 | 23 | $pendingUserEmail->activate(); |
24 | 24 | })->user; |
25 | 25 |
@@ -22,7 +22,7 @@ |
||
22 | 22 | return null; |
23 | 23 | } |
24 | 24 | |
25 | - return $this->createPendingUserEmailModel($email)->tap(function ($model) { |
|
25 | + return $this->createPendingUserEmailModel($email)->tap(function($model) { |
|
26 | 26 | $this->sendPendingEmailVerificationMail($model); |
27 | 27 | }); |
28 | 28 | } |
@@ -47,7 +47,7 @@ |
||
47 | 47 | $timestamp = date('Y_m_d_His'); |
48 | 48 | |
49 | 49 | return Collection::make($this->app->databasePath('migrations') . DIRECTORY_SEPARATOR) |
50 | - ->flatMap(function ($path) use ($filesystem) { |
|
50 | + ->flatMap(function($path) use ($filesystem) { |
|
51 | 51 | return $filesystem->glob("{$path}*_create_pending_user_emails_table.php"); |
52 | 52 | }) |
53 | 53 | ->push($this->app->databasePath("migrations/{$timestamp}_create_pending_user_emails_table.php")) |