Describe the bug
Redis::pipeline 报返回值类型错误,有的时候返回 bool,有的时候返回 int
Return value of Swoft\Redis\Connection\Connection::multi() must be of the type array, bool returned
Expected behavior
pipline 正常返回数组
Screenshots
Details
return Redis::pipeline(function (\Redis $redis) use ($deviceNums) {
foreach ($deviceNums as $deviceNum) {
$redis->get($this->onlineAtDao->getKey($deviceNum));
}
});
Describe the bug Redis::pipeline 报返回值类型错误,有的时候返回 bool,有的时候返回 int Return value of Swoft\Redis\Connection\Connection::multi() must be of the type array, bool returned
Expected behavior pipline 正常返回数组
Screenshots
Details