original_string: protected function convertOptionsList($statement, $aliasColumn, $valueColumn, &$count = null)
      {
          $arrReturn = array();
          while ($values = $statement->fetch(\PDO::FETCH_OBJ)) {
              if (is_array($count)) {
                  /** @noinspection PhpUndefinedFieldInspection */
                  $count[$values->$aliasColumn] = $values->mm_count;
              }
  
              $arrReturn[$values->$aliasColumn] = $values->$valueColumn;
          }
  
          return $arrReturn;
      }
code: protected function convertOptionsList($statement, $aliasColumn, $valueColumn, &$count = null)
      {
          $arrReturn = array();
          while ($values = $statement->fetch(\PDO::FETCH_OBJ)) {
              if (is_array($count)) {
                  /** @noinspection PhpUndefinedFieldInspection */
                  $count[$values->$aliasColumn] = $values->mm_count;
              }
  
              $arrReturn[$values->$aliasColumn] = $values->$valueColumn;
          }
  
          return $arrReturn;
      }
code_tokens: protected function convertOptionsList ( $ statement , $ aliasColumn , $ valueColumn , & $ count = null ) { $ arrReturn = array ( ) ; while ( $ values = $ statement -> fetch ( \ PDO :: FETCH_OBJ ) ) { if ( is_array ( $ count ) ) { /** @noinspection PhpUndefinedFieldInspection */ $ count [ $ values -> $ aliasColumn ] = $ values -> mm_count ; } $ arrReturn [ $ values -> $ aliasColumn ] = $ values -> $ valueColumn ; } return $ arrReturn ; }
docstring: Convert the database result into a proper result array.
  
  @param Statement $statement   The database result statement.
  
  @param string    $aliasColumn The name of the alias column to be used.
  
  @param string    $valueColumn The name of the value column.
  
  @param array     $count       The optional count array.
  
  @return array
docstring_tokens: Convert the database result into a proper result array .