@@ -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', |
@@ -171,7 +171,7 @@ |
||
| 171 | 171 | { |
| 172 | 172 | $sendToken = collect( |
| 173 | 173 | $user->getTwoFactorAuthProviderOptions() |
| 174 | - )->pluck(['sms', 'phone', 'email'])->filter(function ($value) { |
|
| 174 | + )->pluck(['sms', 'phone', 'email'])->filter(function($value) { |
|
| 175 | 175 | return !empty($value) ? $value : null; |
| 176 | 176 | })->isEmpty(); |
| 177 | 177 | |