| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 46 | 13 | public function getMetadata(): array |
|
| 47 | { |
||
| 48 | 13 | return array_merge( |
|
| 49 | 13 | $this->message->getMetadata(), |
|
| 50 | 13 | [ |
|
| 51 | 13 | self::ENVELOPE_STACK_KEY => array_merge( |
|
| 52 | 13 | $this->message->getMetadata()[self::ENVELOPE_STACK_KEY] ?? [], |
|
| 53 | 13 | [self::class], |
|
| 54 | 13 | ), |
|
| 55 | 13 | ], |
|
| 56 | 13 | $this->getEnvelopeMetadata(), |
|
| 57 | 13 | ); |
|
| 65 |