Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | protected function setUp(): void |
||
14 | { |
||
15 | $amqpConnection = $this->getMockBuilder('\PhpAmqpLib\Connection\AMQPStreamConnection') |
||
16 | ->disableOriginalConstructor() |
||
17 | ->getMock(); |
||
18 | |||
19 | $this->consumer = $this->getMockBuilder('\OldSound\RabbitMqBundle\RabbitMq\BaseConsumer') |
||
|
|||
20 | ->setConstructorArgs([$amqpConnection]) |
||
21 | ->getMockForAbstractClass(); |
||
22 | } |
||
48 |
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..