Skip to content

Commit 47ca50c

Browse files
authored
Merge pull request #197 from jeremykenedy/laravel-10
psr-4 fixes
2 parents 84b8373 + a8dc32a commit 47ca50c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Database/TestMigrations/create_users_table.php renamed to src/Database/TestMigrations/2014_10_12_000000_create_users_table.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
use Illuminate\Database\Schema\Blueprint;
77
use Illuminate\Support\Facades\Schema;
88

9-
class CreateUsersTable extends Migration
9+
return new class extends Migration
1010
{
1111
/**
1212
* Run the migrations.
1313
*
1414
* @return void
1515
*/
16-
public function up()
16+
public function up(): void
1717
{
1818
Schema::create('users', function (Blueprint $table) {
1919
$table->id();
@@ -31,7 +31,7 @@ public function up()
3131
*
3232
* @return void
3333
*/
34-
public function down()
34+
public function up(): void
3535
{
3636
Schema::dropIfExists('users');
3737
}

0 commit comments

Comments
 (0)