@@ -35,7 +35,7 @@ |
||
35 | 35 | /** @return \Hyde\Foundation\Kernel\PageCollection<\Hyde\Pages\MarkdownPost> */ |
36 | 36 | public static function getLatestPosts(): PageCollection |
37 | 37 | { |
38 | - return static::all()->sortByDesc(function (self $post): int { |
|
38 | + return static::all()->sortByDesc(function(self $post): int { |
|
39 | 39 | return $post->date?->dateTimeObject->getTimestamp() ?? 0; |
40 | 40 | }); |
41 | 41 | } |