original_string: public function set_right($style) {
          if ($style == 1) {
              $this->format['borders']['right']['style'] = PHPExcel_Style_Border::BORDER_THIN;
          } else if ($style == 2) {
              $this->format['borders']['right']['style'] = PHPExcel_Style_Border::BORDER_THICK;
          } else {
              $this->format['borders']['right']['style'] = PHPExcel_Style_Border::BORDER_NONE;
          }
      }
code: public function set_right($style) {
          if ($style == 1) {
              $this->format['borders']['right']['style'] = PHPExcel_Style_Border::BORDER_THIN;
          } else if ($style == 2) {
              $this->format['borders']['right']['style'] = PHPExcel_Style_Border::BORDER_THICK;
          } else {
              $this->format['borders']['right']['style'] = PHPExcel_Style_Border::BORDER_NONE;
          }
      }
code_tokens: public function set_right ( $ style ) { if ( $ style == 1 ) { $ this -> format [ 'borders' ] [ 'right' ] [ 'style' ] = PHPExcel_Style_Border :: BORDER_THIN ; } else if ( $ style == 2 ) { $ this -> format [ 'borders' ] [ 'right' ] [ 'style' ] = PHPExcel_Style_Border :: BORDER_THICK ; } else { $ this -> format [ 'borders' ] [ 'right' ] [ 'style' ] = PHPExcel_Style_Border :: BORDER_NONE ; } }
docstring: Set the right border of the format.
  
  @param integer $style style for the cell. 1 => thin, 2 => thick
docstring_tokens: Set the right border of the format .