| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 10 | 
| Code Lines | 3 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 6 | 
| CRAP Score | 2 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 23 | 3 | protected function handleForManager( | |
| 24 | EntityManagerInterface $entityManager, | ||
| 25 | Envelope $envelope, | ||
| 26 | 2 | StackInterface $stack | |
| 27 |     ): Envelope { | ||
| 28 | 2 |         if (null !== $envelope->last(ConsumedByWorkerStamp::class)) { | |
| 29 | $this->pingConnection($entityManager); | ||
| 30 | 2 | } | |
| 31 | 2 | ||
| 32 | 2 | return $stack->next()->handle($envelope, $stack); | |
| 33 | } | ||
| 50 |