File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88use Illuminate \Database \Eloquent \Model ;
99use Illuminate \Database \Eloquent \Relations \MorphTo ;
1010use Illuminate \Database \Schema \Blueprint ;
11- use Laragear \MetaModel \CustomizableModel ;
1211use Laragear \MetaModel \CustomMigration ;
1312use Laragear \MetaModel \HasCustomization ;
1413use Laragear \TwoFactor \Contracts \TwoFactorTotp ;
15- use Laragear \TwoFactor \Migrations \TwoFactorAuthenticationMigration ;
1614use ParagonIE \ConstantTime \Base32 ;
1715
1816use 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}
You can’t perform that action at this time.
0 commit comments