From 10d80d8a3663100f63f278236663f656a6fe82e8 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Wed, 3 Dec 2025 23:03:43 +0000 Subject: [PATCH] style: format code with PHP CS Fixer This commit fixes the style issues introduced in 0c29db4 according to the output from PHP CS Fixer. Details: None --- src/Commands/ReverseGenerateCommand.php | 5 ++--- src/Generators/FactoryGenerator.php | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Commands/ReverseGenerateCommand.php b/src/Commands/ReverseGenerateCommand.php index ff225d8..a09756a 100644 --- a/src/Commands/ReverseGenerateCommand.php +++ b/src/Commands/ReverseGenerateCommand.php @@ -436,11 +436,10 @@ private function displaySummary(): void $this->newLine(); $this->info('📊 Generation Summary:'); - $created = count(array_filter($this->generatedFiles, fn($f) => $f['created'])); - $skipped = count(array_filter($this->generatedFiles, fn($f) => $f['existed'] && !$f['created'])); + $created = count(array_filter($this->generatedFiles, fn ($f) => $f['created'])); + $skipped = count(array_filter($this->generatedFiles, fn ($f) => $f['existed'] && !$f['created'])); $this->line(" ✓ Created: {$created} files"); $this->line(" ○ Skipped: {$skipped} files (already existed)"); } } - diff --git a/src/Generators/FactoryGenerator.php b/src/Generators/FactoryGenerator.php index d1ad4d8..b888208 100644 --- a/src/Generators/FactoryGenerator.php +++ b/src/Generators/FactoryGenerator.php @@ -265,4 +265,3 @@ protected function getPath(string $className): string return database_path('factories/' . $className . '.php'); } } -