Skip to content

Commit 28b6a96

Browse files
Fixed code-style
1 parent dbd97ad commit 28b6a96

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

src/Processors/Processor.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,26 @@ abstract class Processor
2424
{
2525
use Artisan;
2626

27+
abstract public function handle(): void;
28+
2729
public function __construct(
28-
protected Options $options,
29-
protected InputInterface $input,
30-
protected OutputInterface $output,
31-
protected Config $config,
30+
protected Options $options,
31+
protected InputInterface $input,
32+
protected OutputInterface $output,
33+
protected Config $config,
3234
protected ActionRepository $repository,
33-
protected Git $git,
34-
protected File $file,
35-
protected Migrator $migrator,
36-
protected Notification $notification,
37-
protected Dispatcher $events,
38-
protected Sorter $sorter
35+
protected Git $git,
36+
protected File $file,
37+
protected Migrator $migrator,
38+
protected Notification $notification,
39+
protected Dispatcher $events,
40+
protected Sorter $sorter
3941
) {
4042
$this->notification->setOutput($this->output);
4143
$this->repository->setConnection($this->options->connection);
4244
$this->migrator->setConnection($this->options->connection)->setOutput($this->output);
4345
}
4446

45-
abstract public function handle(): void;
46-
4747
protected function getFiles(string $path, ?Closure $filter = null): array
4848
{
4949
$file = Str::finish($path, '.php');

src/Processors/Upgrade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ protected function callMigration(): void
145145
: __DIR__ . '/../../database/migrations/named/2022_08_18_180137_change_migration_actions_table.php';
146146

147147
$this->runCommand('migrate', [
148-
'--path' => $path,
148+
'--path' => $path,
149149
'--realpath' => true,
150-
'--force' => true,
150+
'--force' => true,
151151
]);
152152
});
153153
}

src/Services/Migrator.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
class Migrator
2121
{
2222
public function __construct(
23-
protected File $file,
24-
protected Notification $notification,
23+
protected File $file,
24+
protected Notification $notification,
2525
protected ActionRepository $repository,
26-
protected Config $config,
27-
protected Application $laravel
26+
protected Config $config,
27+
protected Application $laravel
2828
) {
2929
}
3030

0 commit comments

Comments
 (0)