original_string: public function edit($sshKeyId, array $parameters)
      {
          if (!array_key_exists('ssh_pub_key', $parameters) || !is_string($parameters['ssh_pub_key'])) {
              throw new \InvalidArgumentException('You need to provide the new public SSH Key.');
          }
  
          return $this->processQuery($this->buildQuery($sshKeyId, SSHKeysActions::ACTION_EDIT, $parameters));
      }
code: public function edit($sshKeyId, array $parameters)
      {
          if (!array_key_exists('ssh_pub_key', $parameters) || !is_string($parameters['ssh_pub_key'])) {
              throw new \InvalidArgumentException('You need to provide the new public SSH Key.');
          }
  
          return $this->processQuery($this->buildQuery($sshKeyId, SSHKeysActions::ACTION_EDIT, $parameters));
      }
code_tokens: public function edit ( $ sshKeyId , array $ parameters ) { if ( ! array_key_exists ( 'ssh_pub_key' , $ parameters ) || ! is_string ( $ parameters [ 'ssh_pub_key' ] ) ) { throw new \ InvalidArgumentException ( 'You need to provide the new public SSH Key.' ) ; } return $ this -> processQuery ( $ this -> buildQuery ( $ sshKeyId , SSHKeysActions :: ACTION_EDIT , $ parameters ) ) ; }
docstring: Edits an existing public SSH key in your account.
  The array requires ssh_pub_key key.
  
  @param integer $sshKeyId   The id of the SSH key.
  @param array   $parameters An array of parameters.
  
  @return StdClass
  
  @throws \InvalidArgumentException
docstring_tokens: Edits an existing public SSH key in your account . The array requires ssh_pub_key key .