Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
DarkGhostHunter authored and StyleCIBot committed Feb 16, 2025
1 parent 83b4863 commit e895ce4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Models/TwoFactorAuthentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\MorphTo;
use Illuminate\Database\Schema\Blueprint;
use Laragear\MetaModel\CustomizableModel;
use Laragear\MetaModel\CustomMigration;
use Laragear\MetaModel\HasCustomization;
use Laragear\TwoFactor\Contracts\TwoFactorTotp;
use Laragear\TwoFactor\Migrations\TwoFactorAuthenticationMigration;
use ParagonIE\ConstantTime\Base32;

use function array_merge;
Expand Down Expand Up @@ -158,7 +156,7 @@ public function toJson($options = 0): string
*/
protected static function migration(): CustomMigration
{
return (new CustomMigration(new static, function (Blueprint $table): void { // @phpstan-ignore-line
return new CustomMigration(new static, function (Blueprint $table): void { // @phpstan-ignore-line
$table->id();

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

$table->timestampsTz();
}));
});
}
}

0 comments on commit e895ce4

Please sign in to comment.