Are you sure the assignment to $pool is correct as $this->resolvePool($pool) (which targets flipbox\craft\psr6\event...chePools::resolvePool()) seems to always return null.
This check looks for function or method calls that always return null and whose
return value is assigned to a variable.
Due to PHP Bug #53727, is_subclass_of might return inconsistent results on some PHP versions if \Stash\Interfaces\PoolInterface::class can be an interface. If so, you could instead use ReflectionClass::implementsInterface.
Loading history...
93
Craft::error(
94
sprintf(
95
"Cache pool class '%s' is not an instances of %s",
This check looks for function or method calls that always return null and whose return value is assigned to a variable.
The method
getObject()can return nothing but null, so it makes no sense to assign that value to a variable.The reason is most likely that a function or method is imcomplete or has been reduced for debug purposes.