Skip to content

Commit c07b510

Browse files
mychidarkogithub-actions[bot]
authored andcommitted
chore: fix styling
1 parent 4326a37 commit c07b510

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/Queue/Commands/QueueConfigCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@ protected function handle()
2525

2626
if (file_exists($appConfigFile)) {
2727
$this->error('Queue config already exists');
28+
2829
return 1;
2930
}
3031

3132
if (!copy(__DIR__ . '/stubs/config.stub', $appConfigFile)) {
3233
$this->error('Failed to generate queue config');
34+
3335
return 1;
3436
}
3537

src/Queue/Commands/QueueInstallCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Aloe\Command;
66
use Aloe\Core;
7-
use Leaf\Queue;
87

98
class QueueInstallCommand extends Command
109
{
@@ -31,11 +30,13 @@ protected function handle()
3130

3231
if (file_exists($migrationFile)) {
3332
$this->error('Queue migration already exists');
33+
3434
return 1;
3535
}
3636

3737
if (!copy(__DIR__ . '/stubs/migration.stub', $migrationFile)) {
3838
$this->error('Failed to generate queue migration');
39+
3940
return 1;
4041
}
4142

@@ -46,10 +47,12 @@ protected function handle()
4647

4748
if (!\Aloe\Core::run("php leaf db:migrate -f $filename", $this->output)) {
4849
$this->error('Failed to run queue migration');
50+
4951
return 1;
5052
}
5153

5254
$this->info('Queue migration ran successfully');
55+
5356
return 0;
5457
}
5558
}

0 commit comments

Comments
 (0)