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