Remove call_user_func_array in favor of spread

This commit is contained in:
Timothy Warren 2017-01-17 12:34:50 -05:00
parent 2ea62648d0
commit 8c81d94034

View File

@ -142,7 +142,7 @@ class RedisDriver extends AbstractDriver {
*/
public function deleteMultiple(array $keys = []): bool
{
$res = call_user_func_array([$this->conn, 'del'], $keys);
$res = $this->conn->del(...$keys);
return $res === count($keys);
}