original_string: public function login($service, $gateway = false)
      {
          $query = array(
              'service' => $this->my_service . '?' . http_build_query(array(
                      'service' => $service,
                  )),
          );
          if ($gateway) {
              $query['gateway'] = $gateway;
          }
          self::http_redirect($this->server['login_url'] . '?' . http_build_query($query));
          // never reach
          return true;
      }
code: public function login($service, $gateway = false)
      {
          $query = array(
              'service' => $this->my_service . '?' . http_build_query(array(
                      'service' => $service,
                  )),
          );
          if ($gateway) {
              $query['gateway'] = $gateway;
          }
          self::http_redirect($this->server['login_url'] . '?' . http_build_query($query));
          // never reach
          return true;
      }
code_tokens: public function login ( $ service , $ gateway = false ) { $ query = array ( 'service' => $ this -> my_service . '?' . http_build_query ( array ( 'service' => $ service , ) ) , ) ; if ( $ gateway ) { $ query [ 'gateway' ] = $ gateway ; } self :: http_redirect ( $ this -> server [ 'login_url' ] . '?' . http_build_query ( $ query ) ) ; // never reach return true ; }
docstring: From proxied service to CAS server
  
  @param string $service
  @param string|bool $gateway
  
  @return bool always true, but never reach.
docstring_tokens: From proxied service to CAS server