Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | 3 | protected function handleForManager( |
|
15 | EntityManagerInterface $entityManager, |
||
16 | Envelope $envelope, |
||
17 | StackInterface $stack |
||
18 | ): Envelope { |
||
19 | 3 | if (null !== $envelope->last(ReceivedStamp::class)) { |
|
20 | 2 | $this->pingConnection($entityManager); |
|
21 | } |
||
22 | |||
23 | 3 | return $stack->next()->handle($envelope, $stack); |
|
24 | } |
||
40 |