| 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 |
||
| 34 | 12 | public function getMetadata(): array |
|
| 35 | { |
||
| 36 | 12 | return array_merge( |
|
| 37 | 12 | $this->message->getMetadata(), |
|
| 38 | 12 | [ |
|
| 39 | 12 | self::ENVELOPE_STACK_KEY => array_merge( |
|
|
|
|||
| 40 | 12 | $this->message->getMetadata()[self::ENVELOPE_STACK_KEY] ?? [], |
|
| 41 | 12 | [self::class], |
|
| 42 | 12 | ), |
|
| 43 | 12 | ], |
|
| 44 | 12 | $this->getEnvelopeMetadata(), |
|
| 45 | 12 | ); |
|
| 53 |