Skip to content

Commit

Permalink
Merge pull request #197 from jeremykenedy/laravel-10
Browse files Browse the repository at this point in the history
psr-4 fixes
  • Loading branch information
jeremykenedy authored Feb 26, 2023
2 parents 84b8373 + a8dc32a commit 47ca50c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateUsersTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
public function up(): void
{
Schema::create('users', function (Blueprint $table) {
$table->id();
Expand All @@ -31,7 +31,7 @@ public function up()
*
* @return void
*/
public function down()
public function up(): void
{
Schema::dropIfExists('users');
}
Expand Down

0 comments on commit 47ca50c

Please sign in to comment.