It seems like $this->createMock(\Equip...DriverInterface::class) of type object<PHPUnit_Framework_MockObject_MockObject> is incompatible with the declared type object<Equip\Queue\Driver\DriverInterface> of property $driver.
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..
It seems like $this->createMock(\Equip...alizerInterface::class) of type object<PHPUnit_Framework_MockObject_MockObject> is incompatible with the declared type object<Equip\Queue\Seria...ageSerializerInterface> of property $serializer.
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...
29
$this->queue = new Queue($this->driver, $this->serializer);
The method expects() does not seem to exist on object<Equip\Queue\Driver\DriverInterface>.
This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
The method expects() does not seem to exist on object<Equip\Queue\Seria...ageSerializerInterface>.
This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
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..