original_string: public static function redirectToReferrer()
      {
          $referrer = self::getReferrer();
          if ($referrer !== false) {
              self::redirectToUrl($referrer);
          }
          self::redirectToUrl(self::getCurrentUrlWithoutQueryString());
      }
code: public static function redirectToReferrer()
      {
          $referrer = self::getReferrer();
          if ($referrer !== false) {
              self::redirectToUrl($referrer);
          }
          self::redirectToUrl(self::getCurrentUrlWithoutQueryString());
      }
code_tokens: public static function redirectToReferrer ( ) { $ referrer = self :: getReferrer ( ) ; if ( $ referrer !== false ) { self :: redirectToUrl ( $ referrer ) ; } self :: redirectToUrl ( self :: getCurrentUrlWithoutQueryString ( ) ) ; }
docstring: Redirects the user to the referrer. If no referrer exists, the user is redirected
  to the current URL without query string.
  
  @api
docstring_tokens: Redirects the user to the referrer . If no referrer exists the user is redirected to the current URL without query string .