original_string: public function previousPage(HTML_QuickForm2_Controller_Page $reference)
      {
          $previous = null;
          foreach ($this->pages as $page) {
              if ($page === $reference) {
                  return $previous;
              }
              $previous = $page;
          }
          return null;
      }
code: public function previousPage(HTML_QuickForm2_Controller_Page $reference)
      {
          $previous = null;
          foreach ($this->pages as $page) {
              if ($page === $reference) {
                  return $previous;
              }
              $previous = $page;
          }
          return null;
      }
code_tokens: public function previousPage ( HTML_QuickForm2_Controller_Page $ reference ) { $ previous = null ; foreach ( $ this -> pages as $ page ) { if ( $ page === $ reference ) { return $ previous ; } $ previous = $ page ; } return null ; }
docstring: Returns the page preceding the given one
  
  @param    HTML_QuickForm2_Controller_Page
  @return   HTML_QuickForm2_Controller_Page|null
docstring_tokens: Returns the page preceding the given one