Skip to content

Commit 46292c9

Browse files
committed
fix linting errors
1 parent 0fb8be2 commit 46292c9

5 files changed

Lines changed: 15 additions & 30 deletions

database/migrations/2016_06_01_000001_create_oauth_auth_codes_table.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
return new class extends Migration
8-
{
7+
return new class extends Migration {
98
/**
109
* Run the migrations.
1110
*/
12-
public function up(): void
13-
{
11+
public function up(): void {
1412
Schema::create('oauth_auth_codes', function (Blueprint $table) {
1513
$table->string('id', 100)->primary();
1614
$table->unsignedBigInteger('user_id')->index();
@@ -24,8 +22,7 @@ public function up(): void
2422
/**
2523
* Reverse the migrations.
2624
*/
27-
public function down(): void
28-
{
25+
public function down(): void {
2926
Schema::dropIfExists('oauth_auth_codes');
3027
}
3128
};

database/migrations/2016_06_01_000002_create_oauth_access_tokens_table.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
return new class extends Migration
8-
{
7+
return new class extends Migration {
98
/**
109
* Run the migrations.
1110
*/
12-
public function up(): void
13-
{
11+
public function up(): void {
1412
Schema::create('oauth_access_tokens', function (Blueprint $table) {
1513
$table->string('id', 100)->primary();
1614
$table->unsignedBigInteger('user_id')->nullable()->index();
@@ -26,8 +24,7 @@ public function up(): void
2624
/**
2725
* Reverse the migrations.
2826
*/
29-
public function down(): void
30-
{
27+
public function down(): void {
3128
Schema::dropIfExists('oauth_access_tokens');
3229
}
3330
};

database/migrations/2016_06_01_000003_create_oauth_refresh_tokens_table.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
return new class extends Migration
8-
{
7+
return new class extends Migration {
98
/**
109
* Run the migrations.
1110
*/
12-
public function up(): void
13-
{
11+
public function up(): void {
1412
Schema::create('oauth_refresh_tokens', function (Blueprint $table) {
1513
$table->string('id', 100)->primary();
1614
$table->string('access_token_id', 100)->index();
@@ -22,8 +20,7 @@ public function up(): void
2220
/**
2321
* Reverse the migrations.
2422
*/
25-
public function down(): void
26-
{
23+
public function down(): void {
2724
Schema::dropIfExists('oauth_refresh_tokens');
2825
}
2926
};

database/migrations/2016_06_01_000004_create_oauth_clients_table.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
return new class extends Migration
8-
{
7+
return new class extends Migration {
98
/**
109
* Run the migrations.
1110
*/
12-
public function up(): void
13-
{
11+
public function up(): void {
1412
Schema::create('oauth_clients', function (Blueprint $table) {
1513
$table->bigIncrements('id');
1614
$table->unsignedBigInteger('user_id')->nullable()->index();
@@ -28,8 +26,7 @@ public function up(): void
2826
/**
2927
* Reverse the migrations.
3028
*/
31-
public function down(): void
32-
{
29+
public function down(): void {
3330
Schema::dropIfExists('oauth_clients');
3431
}
3532
};

database/migrations/2016_06_01_000005_create_oauth_personal_access_clients_table.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
return new class extends Migration
8-
{
7+
return new class extends Migration {
98
/**
109
* Run the migrations.
1110
*/
12-
public function up(): void
13-
{
11+
public function up(): void {
1412
Schema::create('oauth_personal_access_clients', function (Blueprint $table) {
1513
$table->bigIncrements('id');
1614
$table->unsignedBigInteger('client_id');
@@ -21,8 +19,7 @@ public function up(): void
2119
/**
2220
* Reverse the migrations.
2321
*/
24-
public function down(): void
25-
{
22+
public function down(): void {
2623
Schema::dropIfExists('oauth_personal_access_clients');
2724
}
2825
};

0 commit comments

Comments
 (0)