From f7d5e64dab3d1d8c7c12c28c24cbd8b5952eb81a Mon Sep 17 00:00:00 2001 From: Sairahcaz Date: Sun, 12 Mar 2023 20:48:31 +0000 Subject: [PATCH] Fix styling --- src/Commands/DBTruncateCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Commands/DBTruncateCommand.php b/src/Commands/DBTruncateCommand.php index c6271b5..de17a45 100644 --- a/src/Commands/DBTruncateCommand.php +++ b/src/Commands/DBTruncateCommand.php @@ -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(); } @@ -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(); }