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');