original_string: protected function getCurrentPageUrl($pager)
      {
          if ($pager->isFirstPage()) {
              $pageUrl = $pager->getPageUrl(null);
          } else {
              $pageUrl = $pager->getPageUrl($pager->getCurrentPage());
          }
          return $this->removeTags->filter($pageUrl);
      }
code: protected function getCurrentPageUrl($pager)
      {
          if ($pager->isFirstPage()) {
              $pageUrl = $pager->getPageUrl(null);
          } else {
              $pageUrl = $pager->getPageUrl($pager->getCurrentPage());
          }
          return $this->removeTags->filter($pageUrl);
      }
code_tokens: protected function getCurrentPageUrl ( $ pager ) { if ( $ pager -> isFirstPage ( ) ) { $ pageUrl = $ pager -> getPageUrl ( null ) ; } else { $ pageUrl = $ pager -> getPageUrl ( $ pager -> getCurrentPage ( ) ) ; } return $ this -> removeTags -> filter ( $ pageUrl ) ; }
docstring: Retrieve current page URL
  
  @param \Magento\Theme\Block\Html\Pager $pager
  @return string
docstring_tokens: Retrieve current page URL