style(*): update style

- Update the anonymous class syntax in the `add_admin_to_users` migration to use parentheses instead of a space before the opening brace.
- This change ensures compatibility with newer versions of PHP.
This commit is contained in:
Rico van Zelst
2023-12-01 21:50:26 +01:00
parent 2374a39c77
commit 76d9a0c3ab
2 changed files with 1 additions and 2 deletions

View File

@@ -4,7 +4,6 @@ namespace App\Console\Commands;
use App\Models\User;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Hash;
class UserCreateCommand extends Command
{

View File

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration {
return new class () extends Migration {
public function up(): void
{
Schema::table('users', function (Blueprint $table) {