code: public function setArguments(array $arguments)
      {
          if (($numkeys = $this->getKeysCount()) && $numkeys < 0) {
              $numkeys = count($arguments) + $numkeys;
          }
  
          $arguments = array_merge(array($this->getScriptHash(), (int) $numkeys), $arguments);
  
          parent::setArguments($arguments);
      }
docs: {@inheritdoc}