Skip to content

Commit ac5f5e8

Browse files
Devonabgithub-actions[bot]
authored andcommitted
Fix styling
1 parent b17beb3 commit ac5f5e8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Services/GitHubService.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,14 @@ public function getLatestTag(?string $repository = null): string
8383
protected function fetchLatestTag(string $repository): ?string
8484
{
8585
try {
86-
$response = Http::when(config('filament-easy-footer.github.token'),fn ($request) => $request->withToken($this->token))
86+
$response = Http::when(config('filament-easy-footer.github.token'), fn ($request) => $request->withToken($this->token))
8787
->get("https://api.github.com/repos/{$repository}/releases/latest");
8888

89-
9089
if ($response->successful()) {
9190
return $response->json('tag_name');
9291
}
9392

94-
$tagsResponse = Http::when(config('filament-easy-footer.github.token'),fn ($request) => $request->withToken($this->token))
93+
$tagsResponse = Http::when(config('filament-easy-footer.github.token'), fn ($request) => $request->withToken($this->token))
9594
->get("https://api.github.com/repos/{$repository}/tags");
9695

9796
if ($tagsResponse->successful() && ! empty($tagsResponse->json())) {

0 commit comments

Comments
 (0)