| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 11 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 23 | public function handle(Envelope $envelope, StackInterface $stack): Envelope  | 
            ||
| 24 |     { | 
            ||
| 25 |         if (isset($envelope->all()[CorrelationIdStamp::class])) { | 
            ||
| 26 | return $stack->next()->handle($envelope, $stack);  | 
            ||
| 27 | }  | 
            ||
| 28 | |||
| 29 | $envelope = $envelope->with(  | 
            ||
| 30 | new CorrelationIdStamp(CorrelationID::toString())  | 
            ||
| 31 | );  | 
            ||
| 32 | |||
| 33 | return $stack->next()->handle($envelope, $stack);  | 
            ||
| 34 | }  | 
            ||
| 36 |