From 23f3f33fcbb70dcff68f8acca3323bc382ff8af2 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Thu, 13 Jul 2023 20:58:18 +0100 Subject: [PATCH] Rename variable --- src/Telescope.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Telescope.php b/src/Telescope.php index 192b632fd..038dfa8a9 100644 --- a/src/Telescope.php +++ b/src/Telescope.php @@ -667,10 +667,10 @@ public static function store(EntriesRepository $storage) $storage->store(static::collectEntries($batchId)); - $pendingUpdates = $storage->update(static::collectUpdates($batchId)) ?: Collection::make(); + $updateResult = $storage->update(static::collectUpdates($batchId)) ?: Collection::make(); if (! isset($_ENV['VAPOR_SSM_PATH'])) { - $pendingUpdates->whenNotEmpty(fn ($pendingUpdates) => rescue(fn () => ProcessPendingUpdates::dispatch( + $updateResult->whenNotEmpty(fn ($pendingUpdates) => rescue(fn () => ProcessPendingUpdates::dispatch( $pendingUpdates, )->delay(now()->addSeconds(10)))); }