original_string: private function mapBorderStyle($borderStyle)
      {
          switch ($borderStyle) {
              case PHPExcel_Style_Border::BORDER_NONE:
                  return 'none';
              case PHPExcel_Style_Border::BORDER_DASHDOT:
                  return '1px dashed';
              case PHPExcel_Style_Border::BORDER_DASHDOTDOT:
                  return '1px dotted';
              case PHPExcel_Style_Border::BORDER_DASHED:
                  return '1px dashed';
              case PHPExcel_Style_Border::BORDER_DOTTED:
                  return '1px dotted';
              case PHPExcel_Style_Border::BORDER_DOUBLE:
                  return '3px double';
              case PHPExcel_Style_Border::BORDER_HAIR:
                  return '1px solid';
              case PHPExcel_Style_Border::BORDER_MEDIUM:
                  return '2px solid';
              case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT:
                  return '2px dashed';
              case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT:
                  return '2px dotted';
              case PHPExcel_Style_Border::BORDER_MEDIUMDASHED:
                  return '2px dashed';
              case PHPExcel_Style_Border::BORDER_SLANTDASHDOT:
                  return '2px dashed';
              case PHPExcel_Style_Border::BORDER_THICK:
                  return '3px solid';
              case PHPExcel_Style_Border::BORDER_THIN:
                  return '1px solid';
              default:
                  // map others to thin
                  return '1px solid';
          }
      }
code: private function mapBorderStyle($borderStyle)
      {
          switch ($borderStyle) {
              case PHPExcel_Style_Border::BORDER_NONE:
                  return 'none';
              case PHPExcel_Style_Border::BORDER_DASHDOT:
                  return '1px dashed';
              case PHPExcel_Style_Border::BORDER_DASHDOTDOT:
                  return '1px dotted';
              case PHPExcel_Style_Border::BORDER_DASHED:
                  return '1px dashed';
              case PHPExcel_Style_Border::BORDER_DOTTED:
                  return '1px dotted';
              case PHPExcel_Style_Border::BORDER_DOUBLE:
                  return '3px double';
              case PHPExcel_Style_Border::BORDER_HAIR:
                  return '1px solid';
              case PHPExcel_Style_Border::BORDER_MEDIUM:
                  return '2px solid';
              case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT:
                  return '2px dashed';
              case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT:
                  return '2px dotted';
              case PHPExcel_Style_Border::BORDER_MEDIUMDASHED:
                  return '2px dashed';
              case PHPExcel_Style_Border::BORDER_SLANTDASHDOT:
                  return '2px dashed';
              case PHPExcel_Style_Border::BORDER_THICK:
                  return '3px solid';
              case PHPExcel_Style_Border::BORDER_THIN:
                  return '1px solid';
              default:
                  // map others to thin
                  return '1px solid';
          }
      }
code_tokens: private function mapBorderStyle ( $ borderStyle ) { switch ( $ borderStyle ) { case PHPExcel_Style_Border :: BORDER_NONE : return 'none' ; case PHPExcel_Style_Border :: BORDER_DASHDOT : return '1px dashed' ; case PHPExcel_Style_Border :: BORDER_DASHDOTDOT : return '1px dotted' ; case PHPExcel_Style_Border :: BORDER_DASHED : return '1px dashed' ; case PHPExcel_Style_Border :: BORDER_DOTTED : return '1px dotted' ; case PHPExcel_Style_Border :: BORDER_DOUBLE : return '3px double' ; case PHPExcel_Style_Border :: BORDER_HAIR : return '1px solid' ; case PHPExcel_Style_Border :: BORDER_MEDIUM : return '2px solid' ; case PHPExcel_Style_Border :: BORDER_MEDIUMDASHDOT : return '2px dashed' ; case PHPExcel_Style_Border :: BORDER_MEDIUMDASHDOTDOT : return '2px dotted' ; case PHPExcel_Style_Border :: BORDER_MEDIUMDASHED : return '2px dashed' ; case PHPExcel_Style_Border :: BORDER_SLANTDASHDOT : return '2px dashed' ; case PHPExcel_Style_Border :: BORDER_THICK : return '3px solid' ; case PHPExcel_Style_Border :: BORDER_THIN : return '1px solid' ; default : // map others to thin return '1px solid' ; } }
docstring: Map border style
  
  @param    int        $borderStyle        Sheet index
  @return    string
docstring_tokens: Map border style