original_string: public function allConditionalStyles(PHPExcel $pPHPExcel = null)
      {
          // Get an array of all styles
          $aStyles = array();
  
          $sheetCount = $pPHPExcel->getSheetCount();
          for ($i = 0; $i < $sheetCount; ++$i) {
              foreach ($pPHPExcel->getSheet($i)->getConditionalStylesCollection() as $conditionalStyles) {
                  foreach ($conditionalStyles as $conditionalStyle) {
                      $aStyles[] = $conditionalStyle;
                  }
              }
          }
  
          return $aStyles;
      }
code: public function allConditionalStyles(PHPExcel $pPHPExcel = null)
      {
          // Get an array of all styles
          $aStyles = array();
  
          $sheetCount = $pPHPExcel->getSheetCount();
          for ($i = 0; $i < $sheetCount; ++$i) {
              foreach ($pPHPExcel->getSheet($i)->getConditionalStylesCollection() as $conditionalStyles) {
                  foreach ($conditionalStyles as $conditionalStyle) {
                      $aStyles[] = $conditionalStyle;
                  }
              }
          }
  
          return $aStyles;
      }
code_tokens: public function allConditionalStyles ( PHPExcel $ pPHPExcel = null ) { // Get an array of all styles $ aStyles = array ( ) ; $ sheetCount = $ pPHPExcel -> getSheetCount ( ) ; for ( $ i = 0 ; $ i < $ sheetCount ; ++ $ i ) { foreach ( $ pPHPExcel -> getSheet ( $ i ) -> getConditionalStylesCollection ( ) as $ conditionalStyles ) { foreach ( $ conditionalStyles as $ conditionalStyle ) { $ aStyles [ ] = $ conditionalStyle ; } } } return $ aStyles ; }
docstring: Get an array of all conditional styles
  
  @param     PHPExcel                            $pPHPExcel
  @return     PHPExcel_Style_Conditional[]        All conditional styles in PHPExcel
  @throws     PHPExcel_Writer_Exception
docstring_tokens: Get an array of all conditional styles