Skip to content

Commit b8de518

Browse files
committed
fix style ci
1 parent ef50570 commit b8de518

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

src/Queue/Console/FailedTableCommand.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ public function handle()
6363
$table = $this->laravel['config']['queue.failed.table'];
6464

6565
$this->replaceMigration(
66-
$this->createBaseMigration($table), $table, Str::studly($table)
66+
$this->createBaseMigration($table),
67+
$table,
68+
Str::studly($table)
6769
);
6870

6971
$this->info('Migration created successfully!');
@@ -81,7 +83,8 @@ public function handle()
8183
protected function createBaseMigration($table = 'failed_jobs_ph4')
8284
{
8385
return $this->laravel['migration.creator']->create(
84-
'create_'.$table.'_table', $this->laravel->databasePath().'/migrations'
86+
'create_'.$table.'_table',
87+
$this->laravel->databasePath().'/migrations'
8588
);
8689
}
8790

src/Queue/Console/TableCommand.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ public function handle()
6363
$table = $this->laravel['config']['queue.connections.database_ph4.table'] ?? 'jobs_ph4';
6464

6565
$this->replaceMigration(
66-
$this->createBaseMigration($table), $table, Str::studly($table)
66+
$this->createBaseMigration($table),
67+
$table,
68+
Str::studly($table)
6769
);
6870

6971
$this->info('Migration created successfully!');
@@ -81,7 +83,8 @@ public function handle()
8183
protected function createBaseMigration($table)
8284
{
8385
return $this->laravel['migration.creator']->create(
84-
'create_'.$table.'_table', $this->laravel->databasePath().'/migrations'
86+
'create_'.$table.'_table',
87+
$this->laravel->databasePath().'/migrations'
8588
);
8689
}
8790

src/Queue/PessimisticDatabaseQueue.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ protected function marshalJob($queue, $job)
6969
$job = $this->markJobAsReserved($job);
7070

7171
return new DatabaseJob(
72-
$this->container, $this, $job, $this->connectionName, $queue
72+
$this->container,
73+
$this,
74+
$job,
75+
$this->connectionName,
76+
$queue
7377
);
7478
}
7579

0 commit comments

Comments
 (0)