We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 666d650 commit c6b758dCopy full SHA for c6b758d
1 file changed
src/Middleware/FailureHandling/FailureEnvelope.php
@@ -14,7 +14,7 @@ final class FailureEnvelope extends Envelope
14
15
public function __construct(
16
MessageInterface $message,
17
- private readonly array $failureMeta = [],
+ private readonly array $metadata = [],
18
) {
19
parent::__construct($message);
20
}
@@ -26,6 +26,6 @@ public static function fromMessage(MessageInterface $message): self
26
27
protected function getEnvelopeMetadata(): array
28
{
29
- return [self::FAILURE_META_KEY => ArrayHelper::merge($this->message->getMetadata()[self::FAILURE_META_KEY] ?? [], $this->failureMeta)];
+ return [self::FAILURE_META_KEY => ArrayHelper::merge($this->message->getMetadata()[self::FAILURE_META_KEY] ?? [], $this->metadata)];
30
31
0 commit comments