It seems like $storageFactory of type object<AMF\Mutex\Storage\StorageFactoryInterface> is incompatible with the declared type object<AMF\Mutex\Factory\StorageFactory> of property $storageFactory.
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...
39
}
40
41
/**
42
* Returns a mutex.
43
*
44
* @return MutexInterface
45
*/
46
public function getMutex()
47
{
48
if ($this->storageFactory instanceof MemcachedFactory) {
49
return new MemcachedMutex($this->storageFactory->create());
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..