Skip to content

Commit 9657859

Browse files
committedJan 3, 2025
Updated 🔥 PHP/Laravel extensions/NodeJs/npm 💚 dependencies and asset build to latest stable versions! Happy coding 🍎,\n Updated dependencies:
Changelogs summary: - aws/aws-sdk-php updated from 3.336.6 to 3.336.7 patch See changes: aws/aws-sdk-php@3.336.6...3.336.7 Release notes: https://github.com/aws/aws-sdk-php/releases/tag/3.336.7 - symfony/http-foundation updated from v7.2.0 to v7.2.2 patch See changes: symfony/http-foundation@v7.2.0...v7.2.2 Release notes: https://github.com/symfony/http-foundation/releases/tag/v7.2.2 - symfony/http-kernel updated from v7.2.1 to v7.2.2 patch See changes: symfony/http-kernel@v7.2.1...v7.2.2 Release notes: https://github.com/symfony/http-kernel/releases/tag/v7.2.2 - symfony/finder updated from v7.2.0 to v7.2.2 patch See changes: symfony/finder@v7.2.0...v7.2.2 Release notes: https://github.com/symfony/finder/releases/tag/v7.2.2 - symfony/translation updated from v7.2.0 to v7.2.2 patch See changes: symfony/translation@v7.2.0...v7.2.2 Release notes: https://github.com/symfony/translation/releases/tag/v7.2.2 - laravel/framework updated from v11.36.1 to v11.37.0 minor See changes: laravel/framework@v11.36.1...v11.37.0 Release notes: https://github.com/laravel/framework/releases/tag/v11.37.0
1 parent 6fc673c commit 9657859

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/SqsQueueReaderServiceProvider.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ private function removeMessages(array $data, $queue, string $connection): void
6464
$config = Config::get('queue.connections.' . $connection);
6565

6666
$sqsClientConfig = [
67-
//'profile' => 'default',
67+
// 'profile' => 'default',
6868
'region' => Config::get('queue.connections.' . $connection . '.region'),
6969
'version' => '2012-11-05',
7070
'http' => [
@@ -80,7 +80,7 @@ private function removeMessages(array $data, $queue, string $connection): void
8080
$client = new SqsClient($sqsClientConfig);
8181

8282
foreach ($batchIds as $batch) {
83-
//Deletes up to ten messages from the specified queue.
83+
// Deletes up to ten messages from the specified queue.
8484
try {
8585
$result = $client->deleteMessageBatch([
8686
'Entries' => $batch,
@@ -96,7 +96,7 @@ private function removeMessages(array $data, $queue, string $connection): void
9696

9797
throw new \RuntimeException('Cannot delete some messages, consult log for more info!');
9898
}
99-
//Log::info('Message remove report:', [$result]);
99+
// Log::info('Message remove report:', [$result]);
100100
} catch (AwsException $e) {
101101
Log::error('AWS SQS client error:', [$e->getMessage()]);
102102
}

0 commit comments

Comments
 (0)