original_string: private function queryToArray(SS_Query $source) {
          $result=array();
          
          foreach($source as $row) {
              $result[]=$row;
          }
          
          return $result;
      }
code: private function queryToArray(SS_Query $source) {
          $result=array();
          
          foreach($source as $row) {
              $result[]=$row;
          }
          
          return $result;
      }
code_tokens: private function queryToArray ( SS_Query $ source ) { $ result = array ( ) ; foreach ( $ source as $ row ) { $ result [ ] = $ row ; } return $ result ; }
docstring: Merges a database resultset into an array
  @param {SS_Query} $source SS_Query containing the result set
  @return {array} Merged array
docstring_tokens: Merges a database resultset into an array