array(getenv('REDIS_HOST')) of type array<integer,string> is incompatible with the type string expected by parameter $name of RedisArray::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
26
return new \RedisArray(/** @scrutinizer ignore-type */ [\getenv('REDIS_HOST')]);