mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-23 05:46:06 +03:00
Merge branch 'develop' of https://github.com/PHPOffice/PHPExcel into develop
This commit is contained in:
commit
133959a971
@ -1513,7 +1513,7 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
|
|||||||
public function duplicateConditionalStyle(array $pCellStyle = null, $pRange = '')
|
public function duplicateConditionalStyle(array $pCellStyle = null, $pRange = '')
|
||||||
{
|
{
|
||||||
foreach($pCellStyle as $cellStyle) {
|
foreach($pCellStyle as $cellStyle) {
|
||||||
if (!is_a($cellStyle,'PHPExcel_Style_Conditional')) {
|
if (!($cellStyle instanceof PHPExcel_Style_Conditional)) {
|
||||||
throw new Exception('Style is not a conditional style');
|
throw new Exception('Style is not a conditional style');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user