From a1c5346155138450647e9fffcb005dd92c36b80b Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Fri, 12 Jul 2024 20:32:26 +0200 Subject: [PATCH] Add newline to method chain --- .../Framework/Features/Blogging/DynamicBlogPostPageHelper.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/framework/src/Framework/Features/Blogging/DynamicBlogPostPageHelper.php b/packages/framework/src/Framework/Features/Blogging/DynamicBlogPostPageHelper.php index 3bc5efb7333..902dfd81e0c 100644 --- a/packages/framework/src/Framework/Features/Blogging/DynamicBlogPostPageHelper.php +++ b/packages/framework/src/Framework/Features/Blogging/DynamicBlogPostPageHelper.php @@ -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(); } }