Skip to content

Commit 2a3d835

Browse files
jbrooksukgithub-actions[bot]
authored andcommitted
Fix code styling
1 parent 8743d2e commit 2a3d835

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

resources/lang/en/cachet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'feed' => [
1111
'section_heading' => 'Latest Blog Posts',
1212
'empty' => 'No blog posts were found. Check *the blog* for further information.',
13-
'posted_at' => 'Posted :date'
13+
'posted_at' => 'Posted :date',
1414
],
1515
'powered_by' => 'Powered by',
1616
'open_source_status_page' => 'The open-source status page.',

src/Filament/Widgets/Feed.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ protected function fetchFeed(string $uri, int $maxPosts = 5): array
7373
}
7474

7575
$posts[] = [
76-
'title' => (string)($item->title ?? ''),
77-
'link' => Uri::of((string)($item->link ?? ''))->withQuery([
76+
'title' => (string) ($item->title ?? ''),
77+
'link' => Uri::of((string) ($item->link ?? ''))->withQuery([
7878
'ref' => 'cachet-dashboard',
7979
]),
8080
'description' => Str::of($item->description ?? $item->summary ?? '')->limit(preserveWords: true),
81-
'date' => Carbon::parse((string)($item->pubDate ?? $item->updated ?? '')),
81+
'date' => Carbon::parse((string) ($item->pubDate ?? $item->updated ?? '')),
8282
];
8383

8484
$feedIndex++;

0 commit comments

Comments
 (0)