original_string: private function toJsonRequest($accounts) {
      $jsonUsers = array();
      foreach($accounts as $account) {
        $user = array(
          'email' => $account->getEmail(),
          'localId' => $account->getUserId(),
          'emailVerified' => $account->isEmailVerified(),
          'displayName' => $account->getDisplayName(),
          'passwordHash' => Google_Utils::urlSafeB64Encode(
              $account->getPasswordHash()),
          'salt' => Google_Utils::urlSafeB64Encode($account->getSalt())
        );
        array_push($jsonUsers, $user);
      }
      return $jsonUsers;
    }
code: private function toJsonRequest($accounts) {
      $jsonUsers = array();
      foreach($accounts as $account) {
        $user = array(
          'email' => $account->getEmail(),
          'localId' => $account->getUserId(),
          'emailVerified' => $account->isEmailVerified(),
          'displayName' => $account->getDisplayName(),
          'passwordHash' => Google_Utils::urlSafeB64Encode(
              $account->getPasswordHash()),
          'salt' => Google_Utils::urlSafeB64Encode($account->getSalt())
        );
        array_push($jsonUsers, $user);
      }
      return $jsonUsers;
    }
code_tokens: private function toJsonRequest ( $ accounts ) { $ jsonUsers = array ( ) ; foreach ( $ accounts as $ account ) { $ user = array ( 'email' => $ account -> getEmail ( ) , 'localId' => $ account -> getUserId ( ) , 'emailVerified' => $ account -> isEmailVerified ( ) , 'displayName' => $ account -> getDisplayName ( ) , 'passwordHash' => Google_Utils :: urlSafeB64Encode ( $ account -> getPasswordHash ( ) ) , 'salt' => Google_Utils :: urlSafeB64Encode ( $ account -> getSalt ( ) ) ) ; array_push ( $ jsonUsers , $ user ) ; } return $ jsonUsers ; }
docstring: Converts Gitkit account array to json request.
  
  @param array $accounts Gitkit account array
  @return array json request
docstring_tokens: Converts Gitkit account array to json request .