| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 18 | 
| Code Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 2 | ||
| Bugs | 0 | Features | 2 | 
| 1 | <?php  | 
            ||
| 26 | public function testAcknowledge()  | 
            ||
| 27 |     { | 
            ||
| 28 | $message = new Message(  | 
            ||
| 29 | 'queue',  | 
            ||
| 30 | 'handler',  | 
            ||
| 31 | ['foo' => 'bar']  | 
            ||
| 32 | );  | 
            ||
| 33 | |||
| 34 | $this->emitter  | 
            ||
| 35 | ->expects($this->exactly(2))  | 
            ||
| 36 |             ->method('emit') | 
            ||
| 37 | ->withConsecutive(  | 
            ||
| 38 | [Event::QUEUE_ACKNOWLEDGE, $message],  | 
            ||
| 39 |                 [sprintf('%s.%s', Event::QUEUE_ACKNOWLEDGE, $message->handler()), $message] | 
            ||
| 40 | );  | 
            ||
| 41 | |||
| 42 | $this->event->acknowledge($message);  | 
            ||
| 43 | }  | 
            ||
| 44 | |||
| 66 | 
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..