Skip to content

Commit 8c54b91

Browse files
committed
Fix linting errors
1 parent d550c27 commit 8c54b91

2 files changed

Lines changed: 27 additions & 6 deletions

File tree

database/migrations/2026_01_08_144222_update_tou_versions_and_tou_acceptances_tables.php.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
return new class extends Migration
8-
{
7+
return new class extends Migration {
98
/**
109
* Run the migrations.
1110
*/
12-
public function up(): void
13-
{
11+
public function up(): void {
1412
Schema::table('tou_versions', function (Blueprint $table) {
1513
$table->dropColumn('id');
1614
$table->char('version', 10)->primary()->change();
@@ -29,8 +27,7 @@ public function up(): void
2927
/**
3028
* Reverse the migrations.
3129
*/
32-
public function down(): void
33-
{
30+
public function down(): void {
3431
Schema::dropIfExists('tou_versions');
3532
Schema::dropIfExists('tou_acceptances');
3633
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
3+
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
6+
7+
return new class extends Migration
8+
{
9+
/**
10+
* Run the migrations.
11+
*/
12+
public function up(): void
13+
{
14+
//
15+
}
16+
17+
/**
18+
* Reverse the migrations.
19+
*/
20+
public function down(): void
21+
{
22+
//
23+
}
24+
};

0 commit comments

Comments
 (0)