Skip to content

Commit e895ce4

Browse files
DarkGhostHunterStyleCIBot
authored andcommitted
Apply fixes from StyleCI
[ci skip] [skip ci]
1 parent 83b4863 commit e895ce4

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/Models/TwoFactorAuthentication.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@
88
use Illuminate\Database\Eloquent\Model;
99
use Illuminate\Database\Eloquent\Relations\MorphTo;
1010
use Illuminate\Database\Schema\Blueprint;
11-
use Laragear\MetaModel\CustomizableModel;
1211
use Laragear\MetaModel\CustomMigration;
1312
use Laragear\MetaModel\HasCustomization;
1413
use Laragear\TwoFactor\Contracts\TwoFactorTotp;
15-
use Laragear\TwoFactor\Migrations\TwoFactorAuthenticationMigration;
1614
use ParagonIE\ConstantTime\Base32;
1715

1816
use function array_merge;
@@ -158,7 +156,7 @@ public function toJson($options = 0): string
158156
*/
159157
protected static function migration(): CustomMigration
160158
{
161-
return (new CustomMigration(new static, function (Blueprint $table): void { // @phpstan-ignore-line
159+
return new CustomMigration(new static, function (Blueprint $table): void { // @phpstan-ignore-line
162160
$table->id();
163161

164162
$this->createMorph($table, 'authenticatable', 'two_factor_authenticatable_index'); // @phpstan-ignore-line
@@ -175,6 +173,6 @@ protected static function migration(): CustomMigration
175173
$table->json('safe_devices')->nullable();
176174

177175
$table->timestampsTz();
178-
}));
176+
});
179177
}
180178
}

0 commit comments

Comments
 (0)