It seems like $cache of type object<Aviat\Banker\Pool> is incompatible with the declared type object<Aviat\AnimeClient\API\Aviat\Banker\Pool> of property $cache.
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...
41
return $this;
42
}
43
44
/**
45
* Get the cache object if it exists
46
*
47
* @return Pool
48
*/
49
public function getCache()
50
{
51
return $this->cache;
52
}
53
54
/**
55
* Generate a hash as a cache key from the current method call
56
*
57
* @param object $object
58
* @param string $method
59
* @param array $args
60
* @return string
61
*/
62
public function getHashForMethodCall($object, string $method, array $args = []): string
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..