diff --git a/app/Http/Controllers/LatestArticles.php b/app/Http/Controllers/LatestArticles.php index b821014..8bff8a3 100644 --- a/app/Http/Controllers/LatestArticles.php +++ b/app/Http/Controllers/LatestArticles.php @@ -10,8 +10,7 @@ final class LatestArticles extends Controller { public function __invoke() { - return ArticleResource::collection( - Article::with('source', 'topics') + return ArticleResource::collection(Article::with('source', 'topics') ->latest() ->take(8) ->get()