|
@@ -2,16 +2,15 @@
|
|
|
|
|
|
namespace Predis\Commands;
|
|
|
|
|
|
+use Predis\Helpers;
|
|
|
+
|
|
|
class HashDeleteV24x extends Command {
|
|
|
public function getId() {
|
|
|
return 'HDEL';
|
|
|
}
|
|
|
|
|
|
public function filterArguments(Array $arguments) {
|
|
|
- if (count($arguments) === 2 && is_array($arguments[1])) {
|
|
|
- return array_merge(array($arguments[0]), $arguments[1]);
|
|
|
- }
|
|
|
- return $arguments;
|
|
|
+ return Helpers::filterVariadicValues($arguments);
|
|
|
}
|
|
|
|
|
|
public function parseResponse($data) {
|