File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -289,11 +289,10 @@ do is to write your own CSV receiver::
289289 {
290290 // Receive the envelope according to your transport ($yourEnvelope here),
291291 // in most cases, using a connection is the easiest solution.
292-
293292 if (null === $yourEnvelope) {
294293 return [];
295294 }
296-
295+
297296 try {
298297 $envelope = $this->serializer->decode([
299298 'body' => $yourEnvelope['body'],
@@ -303,8 +302,8 @@ do is to write your own CSV receiver::
303302 $this->connection->reject($yourEnvelope['id']);
304303 throw $exception;
305304 }
306-
307- return [$yourEnvelope ->with(new CustomStamp($yourEnvelope['id']);
305+
306+ return [$envelope ->with(new CustomStamp($yourEnvelope['id']);
308307 }
309308
310309 public function ack(Envelope $envelope): void
You can’t perform that action at this time.
0 commit comments