From 95fe5d8f28d7f8bd4671733b70bc90cefff04035 Mon Sep 17 00:00:00 2001 From: Michael Connelly Date: Thu, 19 Sep 2024 21:10:52 +0100 Subject: [PATCH] Add void return type to migration stub --- stubs/migration.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stubs/migration.php b/stubs/migration.php index 10dec9f..4143368 100644 --- a/stubs/migration.php +++ b/stubs/migration.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; return new class() extends Migration { - public function up() + public function up(): void { // Schema::create('StubModuleName', function(Blueprint $table) { // $table->bigIncrements('id'); @@ -12,8 +12,8 @@ public function up() // $table->softDeletes(); // }); } - - public function down() + + public function down(): void { // Don't listen to the haters // Schema::dropIfExists('StubModuleName');