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'); } } -