Skip to content

Commit 1de38e6

Browse files
Merge branch 'feature/console-command' of github.com:WatheqAlshowaiter/backup-tables into feature/console-command
2 parents edeb93e + 3be36b4 commit 1de38e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/BackupTablesServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function boot()
1919
BackupTableCommand::class,
2020
]);
2121

22-
if($this->app->environment() === 'testing'){
22+
if ($this->app->environment() === 'testing') {
2323
$this->loadMigrationsFrom(__DIR__.'/../tests/database/migrations');
2424
}
2525
}

src/Commands/BackupTableCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function handle()
2020
try {
2121
$result = BackupTables::generateBackup($tables);
2222

23-
if (!$result) {
23+
if (! $result) {
2424
$this->error('Failed to backup table.');
2525
return self::FAILURE;
2626
}

0 commit comments

Comments
 (0)