Skip to content

Commit

Permalink
Sort factories
Browse files Browse the repository at this point in the history
  • Loading branch information
bastien-phi committed Aug 5, 2020
1 parent a14635d commit 96f8283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Domain/Factories/Actions/FindFactories.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function execute(string $dirPath): Collection
}
}

return $factories;
return $factories->sortBy(fn (Factory $factory) => $factory->fqcn);
}

private function isEloquentFactory(string $class): bool
Expand Down

0 comments on commit 96f8283

Please sign in to comment.