Skip to content

Commit

Permalink
Add newline to method chain
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jul 12, 2024
1 parent 741cf57 commit a1c5346
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public static function generateAuthorPages(): array
{
// Todo: This does not find authors that have no author config, we should add those to the underlying collection!

return Hyde::authors()->map(fn (PostAuthor $author): PostAuthorPage => new PostAuthorPage("author/$author->username"))->all();
return Hyde::authors()
->map(fn (PostAuthor $author): PostAuthorPage => new PostAuthorPage("author/$author->username"))->all();
}
}

0 comments on commit a1c5346

Please sign in to comment.