Run Laravel Pint on codebase

This commit is contained in:
Jonny Barnes 2023-11-25 16:12:52 +00:00
parent 92098a793e
commit 81e19fec1d
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8

View file

@ -23,12 +23,12 @@ class FrontPageController extends Controller
$notes = Note::latest()->with(['media', 'client', 'place'])->withCount(['webmentions AS replies' => function ($query) { $notes = Note::latest()->with(['media', 'client', 'place'])->withCount(['webmentions AS replies' => function ($query) {
$query->where('type', 'in-reply-to'); $query->where('type', 'in-reply-to');
}]) }])
->withCount(['webmentions AS likes' => function ($query) { ->withCount(['webmentions AS likes' => function ($query) {
$query->where('type', 'like-of'); $query->where('type', 'like-of');
}]) }])
->withCount(['webmentions AS reposts' => function ($query) { ->withCount(['webmentions AS reposts' => function ($query) {
$query->where('type', 'repost-of'); $query->where('type', 'repost-of');
}])->get(); }])->get();
$articles = Article::latest()->get(); $articles = Article::latest()->get();
$bookmarks = Bookmark::latest()->with('tags')->get(); $bookmarks = Bookmark::latest()->with('tags')->get();
$likes = Like::latest()->get(); $likes = Like::latest()->get();