Minor code cleanup

This commit is contained in:
James Cole
2023-08-11 19:40:44 +02:00
parent db94f18d46
commit 4c90f66578
8 changed files with 27 additions and 15 deletions

View File

@@ -33,11 +33,15 @@ class ChangesFor3101 extends Migration
/** /**
* Reverse the migrations. * Reverse the migrations.
*/ */
public function down(): void {} public function down(): void
{
}
/** /**
* Run the migrations. * Run the migrations.
* *
*/ */
public function up(): void {} public function up(): void
{
}
} }

View File

@@ -38,7 +38,9 @@ class FixNullables extends Migration
/** /**
* Reverse the migrations. * Reverse the migrations.
*/ */
public function down(): void {} public function down(): void
{
}
/** /**
* Run the migrations. * Run the migrations.

View File

@@ -36,12 +36,16 @@ class ChangesForV474 extends Migration
* *
* @return void * @return void
*/ */
public function down(): void {} public function down(): void
{
}
/** /**
* Run the migrations. * Run the migrations.
* *
* @return void * @return void
*/ */
public function up(): void {} public function up(): void
{
}
} }

View File

@@ -1,5 +1,7 @@
<?php <?php
declare(strict_types=1);
use Doctrine\DBAL\Schema\Exception\ColumnDoesNotExist; use Doctrine\DBAL\Schema\Exception\ColumnDoesNotExist;
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\QueryException; use Illuminate\Database\QueryException;
@@ -9,7 +11,7 @@ use Illuminate\Support\Facades\Schema;
/** /**
* *
*/ */
return new class extends Migration { return new class () extends Migration {
/** /**
* Run the migrations. * Run the migrations.
*/ */