original_string: public function getSearchedVersions()
      {
          $versions = array();
          
          if (!empty($_REQUEST['Versions'])) {
              if (is_array($_REQUEST['Versions'])) {
                  $versions = Convert::raw2att($_REQUEST['Versions']);
                  $versions = array_combine($versions, $versions);
              } else {
                  $version = Convert::raw2att($_REQUEST['Versions']);
                  $versions[$version] = $version;
              }
          }
  
          return $versions;
      }
code: public function getSearchedVersions()
      {
          $versions = array();
          
          if (!empty($_REQUEST['Versions'])) {
              if (is_array($_REQUEST['Versions'])) {
                  $versions = Convert::raw2att($_REQUEST['Versions']);
                  $versions = array_combine($versions, $versions);
              } else {
                  $version = Convert::raw2att($_REQUEST['Versions']);
                  $versions[$version] = $version;
              }
          }
  
          return $versions;
      }
code_tokens: public function getSearchedVersions ( ) { $ versions = array ( ) ; if ( ! empty ( $ _REQUEST [ 'Versions' ] ) ) { if ( is_array ( $ _REQUEST [ 'Versions' ] ) ) { $ versions = Convert :: raw2att ( $ _REQUEST [ 'Versions' ] ) ; $ versions = array_combine ( $ versions , $ versions ) ; } else { $ version = Convert :: raw2att ( $ _REQUEST [ 'Versions' ] ) ; $ versions [ $ version ] = $ version ; } } return $ versions ; }
docstring: Return an array of versions that we're allowed to return
  
  @return array
docstring_tokens: Return an array of versions that we re allowed to return