Remove call_user_func_array in favor of spread
This commit is contained in:
parent
2ea62648d0
commit
8c81d94034
@ -142,7 +142,7 @@ class RedisDriver extends AbstractDriver {
|
|||||||
*/
|
*/
|
||||||
public function deleteMultiple(array $keys = []): bool
|
public function deleteMultiple(array $keys = []): bool
|
||||||
{
|
{
|
||||||
$res = call_user_func_array([$this->conn, 'del'], $keys);
|
$res = $this->conn->del(...$keys);
|
||||||
return $res === count($keys);
|
return $res === count($keys);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user