original_string: public function createAccount(Account $account, $client_id = null, $client_secret = null)
      {
          $post = $account->toCreateParams();
  
          if ($client_id) {
              $post += array(
                  'client_id' => $client_id,
                  'client_secret' => $client_secret
              );
          }
  
          $response = $this->rest->post(
              static::ACCOUNT_CREATE_PATH,
              $post
          );
  
          $this->checkResponse($response);
  
          return $account->fromResponse($response);
      }
code: public function createAccount(Account $account, $client_id = null, $client_secret = null)
      {
          $post = $account->toCreateParams();
  
          if ($client_id) {
              $post += array(
                  'client_id' => $client_id,
                  'client_secret' => $client_secret
              );
          }
  
          $response = $this->rest->post(
              static::ACCOUNT_CREATE_PATH,
              $post
          );
  
          $this->checkResponse($response);
  
          return $account->fromResponse($response);
      }
code_tokens: public function createAccount ( Account $ account , $ client_id = null , $ client_secret = null ) { $ post = $ account -> toCreateParams ( ) ; if ( $ client_id ) { $ post += array ( 'client_id' => $ client_id , 'client_secret' => $ client_secret ) ; } $ response = $ this -> rest -> post ( static :: ACCOUNT_CREATE_PATH , $ post ) ; $ this -> checkResponse ( $ response ) ; return $ account -> fromResponse ( $ response ) ; }
docstring: Creates a new HelloSign account
  
  If client_id & client_secret null: The user will still need to validate
  their email address to complete the creation process.
  
  Else: Creates a new HelloSign account and provides OAuth app credentials
  to generate an OAuth token automatically with the user Account response.
  
  @param  Account $account
  @param  string $client_id (optional)
  @param  string $client_secret (optional)
  @return Account
  @throws BaseException
docstring_tokens: Creates a new HelloSign account