It seems like $this->getQueueMock() of type object<PHPUnit_Framework_MockObject_MockObject> is incompatible with the declared type object<Phive\Queue\Queue> of property $queue.
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..
Loading history...
31
}
32
33
public function testQueueExceptionExtendsBaseException()
34
{
35
$this->assertInstanceOf('Exception', new QueueException($this->queue));
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..