From b9baed35256110a87bc059f3f1a6b372fa83da62 Mon Sep 17 00:00:00 2001 From: Jason Varga Date: Tue, 22 Oct 2024 17:16:03 -0400 Subject: [PATCH] move --- src/Marketplace/Marketplace.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Marketplace/Marketplace.php b/src/Marketplace/Marketplace.php index 989173a805..98e586cd9b 100644 --- a/src/Marketplace/Marketplace.php +++ b/src/Marketplace/Marketplace.php @@ -39,9 +39,9 @@ public function releases($package) $uri = "packages/$package/releases"; return Cache::rememberWithExpiration("marketplace-$uri", function () use ($uri) { - try { - $fallback = [5 => collect()]; + $fallback = [5 => collect()]; + try { if (! $response = Client::get($uri)) { return $fallback; }