Drop useless method from base command class.

This commit is contained in:
Daniele Alessandri
2016-06-04 15:57:12 +02:00
parent 62b421f20e
commit c1d34f022f
36 changed files with 110 additions and 91 deletions
+4 -2
View File
@@ -57,13 +57,15 @@ abstract class ScriptCommand extends ServerEvalSHA
/**
* {@inheritdoc}
*/
protected function filterArguments(array $arguments)
public function setArguments(array $arguments)
{
if (($numkeys = $this->getKeysCount()) && $numkeys < 0) {
$numkeys = count($arguments) + $numkeys;
}
return array_merge(array(sha1($this->getScript()), (int) $numkeys), $arguments);
$arguments = array_merge(array(sha1($this->getScript()), (int) $numkeys), $arguments);
parent::setArguments($arguments);
}
/**