update: stubs

This commit is contained in:
HDVinnie
2024-03-20 14:56:51 -04:00
parent 455fbbcebb
commit 3b7b322a3a
3 changed files with 5 additions and 11 deletions

View File

@@ -18,12 +18,10 @@ use Illuminate\Support\Facades\Schema;
return new class () extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
public function up(): viod
{
Schema::create('{{ table }}', function (Blueprint $table) {
Schema::create('{{ table }}', function (Blueprint $table): void {
$table->increments('id');
$table->timestamps();
});

View File

@@ -17,10 +17,8 @@ use Illuminate\Support\Facades\Schema;
return new class () extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
public function up(): void
{
//
}

View File

@@ -18,12 +18,10 @@ use Illuminate\Support\Facades\Schema;
return new class () extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
public function up(): void
{
Schema::table('{{ table }}', function (Blueprint $table) {
Schema::table('{{ table }}', function (Blueprint $table): void {
//
});
}