Skip to content

Commit eea8274

Browse files
palpalaniactions-user
authored andcommitted
Fix styling
1 parent 3d0ebc2 commit eea8274

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Sqs/Queue.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public function pop($queue = null)
8989
}
9090
} catch (AwsException $e) {
9191
$msg = 'Line: '. $e->getLine() .', '. $e->getFile() . ', '. $e->getMessage();
92+
9293
throw new \RuntimeException("Aws SQS error: " . $msg);
9394
}
9495
}
@@ -128,7 +129,7 @@ private function modifyPayload($payload, $class)
128129
'batchIds' => [
129130
'Id' => $item['MessageId'],
130131
'ReceiptHandle' => $item['ReceiptHandle'],
131-
]
132+
],
132133
];
133134
$attributes = $item['Attributes'];
134135
$messageId = $item['MessageId'];

src/SqsQueueReaderServiceProvider.php

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public function boot(): void
3939
$msg .= sprintf("Deleting message failed, code = %s, id = %s, msg = %s, senderfault = %s", $failed['Code'], $failed['Id'], $failed['Message'], $failed['SenderFault']);
4040
}
4141
Log::error('Cannot delete some SQS messages: ', [$msg]);
42+
4243
throw new \RuntimeException("Cannot delete some messages, consult log for more info!");
4344
}
4445
}

0 commit comments

Comments
 (0)