It seems like $this->getMockBuilder('\...tMockForAbstractClass() of type PHPUnit\Framework\MockObject\MockObject is incompatible with the declared type OldSound\RabbitMqBundle\RabbitMq\BaseConsumer of property $consumer.
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..
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..