Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Sairahcaz authored and github-actions[bot] committed Mar 12, 2023
1 parent 91afe5b commit f7d5e64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/DBTruncateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function handle(): int

$foreignKeyChecks = $this->hasOption('checks') && filter_var($this->option('checks'), FILTER_VALIDATE_BOOLEAN);

if (!$foreignKeyChecks) {
if (! $foreignKeyChecks) {
$this->components->warn('Disabling foreign key checks!');
Schema::disableForeignKeyConstraints();
}
Expand All @@ -46,7 +46,7 @@ public function handle(): int

$this->components->info('Finished truncating tables.');

if (!$foreignKeyChecks) {
if (! $foreignKeyChecks) {
$this->components->warn('Re-enabling foreign key checks!');
Schema::enableForeignKeyConstraints();
}
Expand Down

0 comments on commit f7d5e64

Please sign in to comment.