Passed
Pull Request — master (#5)
by Raza
04:27 queued 01:56
created
src/Providers/AuthyServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
migrations/migration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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',
Please login to merge, or discard this patch.
src/Services/Authy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.