@@ -60,7 +60,7 @@ |
||
60 | 60 | */ |
61 | 61 | private function registerAuthy() |
62 | 62 | { |
63 | - $this->app->singleton('authy', function () { |
|
63 | + $this->app->singleton('authy', function() { |
|
64 | 64 | return new Authy(); |
65 | 65 | }); |
66 | 66 | } |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::table('users', function (Blueprint $table) { |
|
15 | + Schema::table('users', function(Blueprint $table) { |
|
16 | 16 | // Two-Factor Authentication Columns... |
17 | 17 | $table->string('phone_country_code')->nullable(); |
18 | 18 | $table->string('phone_number')->nullable(); |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | */ |
28 | 28 | public function down() |
29 | 29 | { |
30 | - Schema::table('users', function (Blueprint $table) { |
|
30 | + Schema::table('users', function(Blueprint $table) { |
|
31 | 31 | $table->dropColumn([ |
32 | 32 | 'phone_country_code', |
33 | 33 | 'phone_number', |
@@ -173,7 +173,7 @@ |
||
173 | 173 | { |
174 | 174 | $sendToken = collect( |
175 | 175 | $user->getTwoFactorAuthProviderOptions() |
176 | - )->filter(function ($option, $key) { |
|
176 | + )->filter(function($option, $key) { |
|
177 | 177 | return ($option && in_array($key, ['sms', 'phone', 'email'])) ? $option : null; |
178 | 178 | }); |
179 | 179 |