Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Jul 13, 2023
1 parent c969026 commit 23f3f33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Telescope.php
Original file line number Diff line number Diff line change
Expand Up @@ -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))));
}
Expand Down

0 comments on commit 23f3f33

Please sign in to comment.